loopback-next icon indicating copy to clipboard operation
loopback-next copied to clipboard

Cache model based on schema title is flawed

Open chidam333 opened this issue 11 months ago • 0 comments

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 avatar Feb 26 '25 09:02 chidam333