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

Do the QueryService mutations save when used directly? #1516

Open
Distortedlogic opened this issue Jan 23, 2022 · 1 comment
Open

Do the QueryService mutations save when used directly? #1516

Distortedlogic opened this issue Jan 23, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@Distortedlogic
Copy link

When creating a custom query service, if I call this.createOne does it save the entity also? or solely create the entity?

@Distortedlogic Distortedlogic added the documentation Improvements or additions to documentation label Jan 23, 2022
@TriPSs
Copy link

TriPSs commented May 10, 2022

Your custom query service should also extend for example the TypOrmQueryService, if you look at that createOne method you see it indeeds creates the record.

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

No branches or pull requests

2 participants