Skip to content

Conversation

@prashanthjos
Copy link
Member

In a scenario where we use the same JsonSchemaFactory to create multiple JsonSchema instances with each instance having its own config (which is instance of SchemaValidatorsConfig) the cached $ref's are picking up the initial config that was set by first call to JsonSchemaFactory.getSchema. This PR addresses the issue of refreshing the config every time we call JsonSchemaFactory.getSchema. As per my understanding we should be caching the JSONNode instance associated with a schema and not the config.

@stevehu can you please have a look at the PR and let me know your suggestions and approve it if we are good.

prashanthjos and others added 29 commits October 21, 2020 17:39
Getting latest changes from networknt
Fixing concurrency and compilation issues. (networknt#385)
@prashanthjos prashanthjos requested a review from stevehu September 6, 2021 14:37
@prashanthjos
Copy link
Member Author

@stevehu can you please have a look at this PR.

@prashanthjos
Copy link
Member Author

@stevehu this review has been pending for a while. We have an important functionality that is waiting for this PR to be merged. Can you please take a look and let me know your comments.

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.

3 participants