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

schema.Extras #61

Closed
tpoxa opened this issue Dec 4, 2022 · 2 comments
Closed

schema.Extras #61

tpoxa opened this issue Dec 4, 2022 · 2 comments

Comments

@tpoxa
Copy link

tpoxa commented Dec 4, 2022

Question. If I would like to Unmarshal my JSON schema bytes which contain custom attributes, should the Extras field contain those attributes?

I tried that, but it looks empty now.

@tpoxa
Copy link
Author

tpoxa commented Dec 4, 2022

Can jsonschema.Schema struct being used as DTO for unmarshalling JSON schemas bytes it is producing?

@PopescuStefanRadu
Copy link

if you look at the current implementation, then no.

@tpoxa tpoxa closed this as completed Mar 12, 2024
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

2 participants