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

Relationships and select #1400

Open
JF-Cozy opened this issue Oct 10, 2023 · 0 comments
Open

Relationships and select #1400

JF-Cozy opened this issue Oct 10, 2023 · 0 comments

Comments

@JF-Cozy
Copy link
Contributor

JF-Cozy commented Oct 10, 2023

When using a .include with a .select, the relationships is mandatory to receive the actual relationship.
For instance:

Q(doctype).include(['contact'].select(['something', 'relationships']))

This should either automatically handled by cozy-client, or at least a warning should be made when the 'relationships' key is missing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant