Comments (8)
What? All linked IDs should come back in the response by default. This is in the unit tests: https://github.com/daliwali/fortune/blob/master/test/all.js#L150
Can you explain further?
from fortune.
Should have looked at the tests. It's not working for me right now, there is nothing being returned for this association and I've checked the mongo store. Will double check this and report back if I can get the IDs to return.
Do you have a plan to implement the compound docs?
from fortune.
My bad, I found the issue on my end.
Been looking through too many frameworks, and jumping branches.
from fortune.
Yes, compound docs will be implemented as they are a part of the JSON API spec. The spec on those has actually changed a bit recently so I haven't gotten around to it yet.
from fortune.
Meanwhile, do you think it's acceptable to just append more resources in the after transformations? Or better to make a separate call?
from fortune.
The context of an after transform is a singular resource and not the entire response, so it's not possible to do this and be compliant with JSON API. Better to just make a separate request for now.
from fortune.
Ahh, like just create a new route in express and use the underlying adapter to do as I wish?
from fortune.
You could, but then you would be missing some logic here and here.
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.