directus-dart
directus-dart copied to clipboard
Directus SDK for Dart and Flutter
Hi , thanks for this awesome package, please fix the method updateMany in items module , ( ids are now passed in data ) https://docs.directus.io/reference/items.html#update-multiple-items ```dart Future updateMany({required List ids,...
I'm digging down a rabbit hole: 1. Subclass DirectusUser to have a type with additional fields 2. Add an extension to CurrentUser similar to read() readCustomUser()
fields.readOne throws an error saying 'List should use DirectusListResponse.'
The below line throws an error: "Problem with Directus" https://github.com/apstanisic/directus-dart/blob/0bc0443fbf1a8ec4a0bb9038eaff520987131dec/lib/src/modules/items/items_handler.dart#L98 It should actually be converted to list like below `final mapData = data.map((item) => converter.toJson(item)).toList();`
I removed `lib` folder from example when adding generated files to git ignore
https://github.com/apstanisic/directus-dart/blob/ec87f59f5260470a06f9672dddc1baf962a8b85d/lib/src/modules/files/directus_file.dart#L18 File download URL should return the whole download URL along with concatenated auth token of the current user
Getting this error ⬇️ `type 'String' is not a subtype of type 'int?' in type cast` while uploading file via 'uploadFile' method but it successfully uploads but throws error while...
Something like this below `contentType: MediaType.parse(mime(file.path)!)` Hey, it would be great if I could also contribute to this repo.
Hello, Can i get please example how to do fulltext search? i tried to modify library with query with search param ``` await DirectusApi.sdk.items('Products').readMany( query: Query(fields: ["id,name"], search: 'numb'), filters:...
Hello, thanks for this useful package! I have found a bug that occurs when directus does not send any data back in a response. That happens when you set permissions...