Skip to content

Conversation

Smtih
Copy link
Owner

@Smtih Smtih commented Nov 21, 2024

This takes the same genearl filter idea used for updates and applies it to creates. As we can't inject the filter conditions to the where clause we instead directly filter the DTO using applyFilter before attempting to create.

I've just applied an outline to createOne and typeorm-query-service for demonstration of the idea.

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

Successfully merging this pull request may close these issues.

1 participant