Skip to content

Cache model based on schema title is flawed #10847

Description

@chidam333

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions