Skip to content
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

feat(core): relation loader using instance raw data #19

Closed
paul-thebaud opened this issue Jan 31, 2024 · 0 comments
Closed

feat(core): relation loader using instance raw data #19

paul-thebaud opened this issue Jan 31, 2024 · 0 comments
Labels
priority:low May be addressed at any time scope:core @foscia/core type:feat New feature

Comments

@paul-thebaud
Copy link
Contributor

What problem is this solving

For REST API which serialize only the related IDs, a new relation loader which uses those data should be useful.

Proposed solution

Add a new relation loader factory with various options:

  • IDs extraction from raw instance's data
  • Model action filtering (just like inside makeRefreshIncludeLoader)

Describe alternatives you've considered

No response

@paul-thebaud paul-thebaud added type:feat New feature priority:low May be addressed at any time scope:core @foscia/core labels Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:low May be addressed at any time scope:core @foscia/core type:feat New feature
Projects
None yet
Development

No branches or pull requests

1 participant