Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

bug: YAML-decode is implicit with the JSONSchema Validator #4

Open
stanistan opened this issue Nov 22, 2021 · 0 comments
Open

bug: YAML-decode is implicit with the JSONSchema Validator #4

stanistan opened this issue Nov 22, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@stanistan
Copy link
Collaborator

This should either probably be resolved, or included in the design for:

Because JSON is a subset of YAML, we do YAML parse of everything that has a JSONSchema.

json, err := yaml.YAMLToJSON([]byte(data))

  1. This should not be implicit
  2. There should be options for this
@stanistan stanistan added the bug Something isn't working label Nov 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant