-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow feature to populate embedded data #189
Comments
Hey! I'm not quite sure I understand what you're asking for. Can you provide some examples of how this would work? In the examples, it would help if you could include: how the document would be structured in mongo; what the incoming request would look like; and then what the desired response would be. |
Im saying in the router when someone pushes a field to the Below The Venue Has a Embedded EventSchema assigned to it
The Event Schema has a ref to the User Schema
I would just like populate the user information
This could easily be achieved simply by adding the includesPath to the populate. |
Is there a reason JSON:API server doesn't allow the ability to populate embedded data ? Right now it only allows you to populate reference data and it does not allow for Multi Level Support .
I was easily able to get this to work by altering this code to MongooseAdapter.js
I am not suggesting the following code!, I am just demostrating how easy a simple feature can be added but is instead disregarded.
Can I suggest a Code Change to allow for this feature ?
The text was updated successfully, but these errors were encountered: