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

Allow CustomSchemaProvider to provide schema content instead of uri #994

Open
qvalentin opened this issue Nov 3, 2024 · 0 comments
Open

Comments

@qvalentin
Copy link

Is your enhancement related to a problem? Please describe.

A Lsp Client can implement custom schema selection by using the CustomSchemaProvider.
This only allows the client to return a uri to the schema to be used.
For my usecase the client is generating the schema on the fly.
Only being able to return a uri adds an additional roundtrip that could be avoided.

Describe the solution you would like

Allow the CustomSchemaProvider to directly return the schema as json.

Describe alternatives you have considered

Additional context

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

No branches or pull requests

1 participant