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

[Bug] Custom formats not working for objects #892

Open
WaldoJeffers opened this issue Dec 8, 2023 · 0 comments
Open

[Bug] Custom formats not working for objects #892

WaldoJeffers opened this issue Dec 8, 2023 · 0 comments

Comments

@WaldoJeffers
Copy link

Hello,

It seems custom formats work well for "primitive" types (string, boolean...) but not for objects. The format validator never seems to be called. Is this intentional, or is it a bug?

/* Working ok */
"schema": {
  "type": "object",
  "format": "custom_object"
}   


/* Not working */
"schema": {
  "type": "object",
  "format": "custom_object"
} 

If this is indeed a bug, I'd be willing to work on submitting a PR, if I'm given a few guidelines :)

Thanks :)

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