Comments (11)
Me too! IIRC, AMS would specify it as { include: [ { author: [ :profile ] }, :tags ] }
. This approach seems ideal because the developer can define a deeply nested hash and arrays to reflect the deeply nested relationships.
from fast_jsonapi.
@NickBeukema I’ll try to make it work by the end of this week, didn’t have time lately
from fast_jsonapi.
I'd love to help as well - this is the main blocker to replacing AMS and basking in the velocity of fast_jsonapi
from fast_jsonapi.
@christophersansone Agree. Using the AMS approach would be ideal. We would like to have this feature added to fast_jsonapi as soon as we can. @potato20 @blocknotes pull requests are welcome
from fast_jsonapi.
Trying to make it work right now, it's kinda related to #67. Should I wait for it to be merged first?
from fast_jsonapi.
@SumLare ya i think there are a lot of changes coming up so do you mind waiting a little bit. We are overwhelmed by the response and would love to add all the features that are part of the JSON:API spec.
Once some of the relevant pull requests are merge to dev go ahead and create one with all your changes.
from fast_jsonapi.
@shishirmk yea sure looking forward to help you guys.
from fast_jsonapi.
@SumLare is there anything you need assistance with in completing this? Currently working on a project that would benefit from this, and would love to help if needed.
from fast_jsonapi.
@jshow @SumLare @NickBeukema i think this would be a good time to attack this problem. Have any of you started working on it?
from fast_jsonapi.
@shailesh33 , I've put together a PR for discussion
from fast_jsonapi.
This should be released in version 1.2 of the gem
from fast_jsonapi.
Related Issues (20)
- How can I reference dynamic attributes inside of other dynamic attributes? HOT 1
- Relationship scope HOT 1
- do i need to always give serializer name or it can auto pick HOT 1
- Any way to globally output 'pretty' JSON? HOT 1
- Is this project abandoned? No PR's merged or versions released in nearly a year! HOT 10
- Customize JSON Response HOT 3
- passing in list of params for collection?
- Thoughts on adding a value transform option or a 'type' option to Attribute?
- Unexpected behavior when object belongs_to :size HOT 2
- set_id value not respected in relationships HOT 1
- FYI > this repo has been FORKED and is active at new repository HOT 1
- uninitialized constant FooBar::OrganizationSerializer::FastJsonapi HOT 2
- #serialized_json for empty collection HOT 1
- circular association troubles HOT 1
- Integers and Floats are represented as strings HOT 1
- Bug: Associations that have an attribute or method named `map` cannot be serialized HOT 1
- ObjectSerializer not working for single object HOT 2
- Alternative to this gem -> Alba HOT 1
- Issue with accessor with a proc shortcut in ruby 3.0 HOT 1
- Single attribute with serializer parameter
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 fast_jsonapi.