Comments (6)
The filter in this example would be very useful. In the use case I am playing around with, I need to find a specific record based on a UUID saved inside the object, but have no way way to query the API to find the object other than by object ID.
Being able to specify arbitrary queries would solve this easily.
from fortune.
bump!
from fortune.
There is some new documentation in the JSON API spec that specifies a query for what fields to include in a resource and how to sort resources, so perhaps I'll just mention that here. The main reason I am hesitant to implement this is that the spec doesn't mention how exactly to construct arbitrary queries, and creating something independent of the spec might not be a good idea.
from fortune.
There is some new documentation in the JSON API spec that specifies a query for what fields to include in a resource and how to sort resources, so perhaps I'll just mention that here. The main reason I am hesitant to implement this is that the spec doesn't mention how exactly to construct arbitrary queries, and creating something independent of the spec might not be a good idea.
Yes but paging/limiting a result set is essential for any real world application. Seems to me that the JSON API is a work in progress and you can always create a new version that matches the spec if/when it is changed to add support for such features.
from fortune.
is this filtering implemented? Or is this just an idea? I don't think I can use fortune in my application without filtering (and pagination)
from fortune.
Yeah same question as OP. Is there any plan to implement filter, pagination and sort? As far as I know, JSON API spec is about to be finalized. It would be a great time to implement such things.
from fortune.
Related Issues (20)
- Polymorphic alternative HOT 2
- How to extend an initialized store? HOT 1
- Header issues HOT 1
- Serialize without server HOT 1
- How to do many-to-many ? HOT 2
- limit does not seam to work HOT 1
- Record Type Inheritance HOT 2
- Cleaning up relationships after delete HOT 1
- Custom Pluralize HOT 2
- Help getting started. HOT 2
- `include` param documentation does not match the example HOT 1
- Is it planned to support link properties? HOT 1
- Is it possible to export/import fortune dump? HOT 4
- Google Firestore Adapter HOT 1
- How to limit access to resources? HOT 5
- Delete requires ids array - Documentation says it's optional. HOT 1
- What is the recommended way to perform queries? store vs store.adapter HOT 5
- Is there a way to pass lesser or greater in the query string? HOT 1
- Triggering logic, after transaction has ended. HOT 1
- Multi param filtering
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fortune.