xantiagoma / dart_strapi Goto Github PK
View Code? Open in Web Editor NEWDart Strapi Client Library
Home Page: https://pub.dev/packages/dart_strapi
License: MIT License
Dart Strapi Client Library
Home Page: https://pub.dev/packages/dart_strapi
License: MIT License
Hello! I like Strapi and use your dart_strapi code.
But I have problem, new version purchases_flutter not worked with dart_strapi.
Could you fix this problem?
Thank you in advance!
Running "flutter pub get"
Because no versions of dart_strapi match >2.0.0 <3.0.0 and dart_strapi 2.0.0 depends on freezed_annotation ^1.1.0, dart_strapi ^2.0.0 requires freezed_annotation ^1.1.0.
And because purchases_flutter >=4.0.0-beta.1 depends on freezed_annotation ^2.0.1, dart_strapi ^2.0.0 is incompatible with purchases_flutter >=4.0.0-beta.1.
So, because .. depends on both dart_strapi ^2.0.0 and purchases_flutter ^5.2.2, version solving failed.
pub get failed (1; So, because .. depends on both dart_strapi ^2.0.0 and purchases_flutter ^5.2.2, version solving failed.)
exit code 1
I've tried working with query parameters with this package and looking at the previous issue I should be able to do something like this in order to get only that specific result from the table (FAQ in this case) but I end up getting the entire collection, what is wrong?
final collectionResponse = await client.collection.get(
collection,
queryParameters: {
'name': 'FAQ',
},
);
Hello,
It seems not possible to something like this at the moment.
strapi.query('restaurant').findOne({ name: 'restaurant name' });
For now, dart_strapi can only provides findOne with id.
Future findOne(String contentType, String id)
I would be a great feature
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.