-
-
Notifications
You must be signed in to change notification settings - Fork 542
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
fix(crud): TypeOrm Cache was not working #688
base: master
Are you sure you want to change the base?
Conversation
1994b1b
to
9018e0d
Compare
Hello @zMotivat0r, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had same issue. This fix looks great to me.
Any plans on merging this? I'm facing the same issue. |
feat(envs): migrate repo from nestjsx to rewiko
feat(readme): update readme with release information
1a2072b
to
3e8c0b5
Compare
Merged and released on my own repo Cache is not working rewiko#3 |
Why isnt this merged. a simple debug of the library clearly shows the bug? Any ideas when this will be fixed? |
Can the reviewers provide some update on this Merge request? |
TypeOrm Cache is not working.
builder.getQueryAndParameters()
returns an array of 2 items, first one is the SQL generated and second one is an array of given parameters. linkTypeOrm cache function can have either 2 parameters with the first one the key name as a string and the TTL or only the latter and the key will be generated automatically.
2 options are possible the first one would be to concatenate the getQueryAndParameters array or let TypeOrm generates the key.
Fixes #397 #407 #569
The cache should not be used to get resource while we try to update/delete them.