laravel_rest_api_flutter 0.1.0
laravel_rest_api_flutter: ^0.1.0 copied to clipboard
A generic Dart/Flutter wrapper to consume Laravel REST APIs - search, mutate, delete and trigger backend actions
Changelog #
0.1.0 #
Added #
- New field
TextSearch? textforSearchFactory(https://laravel-rest-api.lomkit.com/digging-deeper/full-text-search) - New field
List<Select>? selectsforInclude, allowing us to specify which fields to retrieve from distant relationships - New field
List<Include>? includesforInclude, allowing us to fetch values from distant relationships - New field
bool? withoutDetachingforMutation, allowing us to specify if sync should detach - New field
List<MutationRelation>? relationsforMutation(https://laravel-rest-api.lomkit.com/endpoints/mutate#relations) - New
enum MutationRelationOperationto define complex relation operations - You can now pass
nullin filter options - Raised the minimum Dart SDK version to 3.10.0
Changed #
MutationOperationnow only has{ create, update }values (before:{ create, update, attach, detach, toggle, sync })
Removed #
- Default generated example code
- Unused
.fromJson()methods
Breaking Changes #
- Generic type for
ActionsFactoryandMutateFactoryremoved (they were only used with the.fromJson()methods) MutationOperationvalue set reduced as mentioned above
0.0.1 #
Core functionality.