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

Support masked Var References in JSON Schema / Swagger #988

Open
ikitommi opened this issue Jan 6, 2024 · 0 comments
Open

Support masked Var References in JSON Schema / Swagger #988

ikitommi opened this issue Jan 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ikitommi
Copy link
Member

ikitommi commented Jan 6, 2024

Extracted @bsless #985 (comment) into separate issue.

so, you would not like to expose the namespaces?

Exactly. It's an implementation detail and can just add noise and confusion. Why would the consumer care that my schema is a com.foo.my-service.blash.schema/User? The benefit is it maps directly to the place where the schema is defined. Since it has pros and cons for each option, it makes sense to make it configurable and leave it up to users.

just for Vars or also for qualified keywords and symbols?

With qualified idents you can already give them whatever namespace prefix you like (and some argue you shouldn't use a ::foo anyway), so it's less of an issue.

@ikitommi ikitommi mentioned this issue Jan 6, 2024
4 tasks
@ikitommi ikitommi added the enhancement New feature or request label Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant