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

Cache model based on schema title is flawed #10847

Open
chidam333 opened this issue Feb 26, 2025 · 0 comments
Open

Cache model based on schema title is flawed #10847

chidam333 opened this issue Feb 26, 2025 · 0 comments
Labels

Comments

@chidam333
Copy link

Describe the bug

I had a user model as a schema inside my reqbody but i need to extend the schema so i extended it using runtime creating model methods. For my surprise it was not having any effect. Only then did i figure out that you guys are caching models based on schema title. This is not intuitive. I am happy to hear what was the logic behind it ?

Logs

Additional information

No response

Reproduction

https://codesandbox.io/p/sandbox/github/loopbackio/starter/tree/codesandbox

@chidam333 chidam333 added the bug label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant