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

Change the default schema to the Core schema #152

Open
Paalon opened this issue Jun 11, 2024 · 1 comment
Open

Change the default schema to the Core schema #152

Paalon opened this issue Jun 11, 2024 · 1 comment

Comments

@Paalon
Copy link
Contributor

Paalon commented Jun 11, 2024

According to the YAML spec, a YAML processor should use the Core schema as its default.

From YAML spec. 1.2.2, 10.3. Core Schema:

The Core schema is an extension of the JSON schema, allowing for more human-readable presentation of the same types. This is the recommended default schema that YAML processor should use unless instructed otherwise. It is also strongly recommended that other schemas should be based on it.

Currently (in YAML.jl v0.4.10), we use an original schema, so it will be a breaking change and should keep the functionality as an optional schema and gradually deprecate it.

@Paalon
Copy link
Contributor Author

Paalon commented Jun 11, 2024

First, we should solve #151, then let's get started on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants