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

Version property #8

Open
dbrockman opened this issue Mar 12, 2024 · 0 comments
Open

Version property #8

dbrockman opened this issue Mar 12, 2024 · 0 comments

Comments

@dbrockman
Copy link

It looks like the spec doesn't leave a lot of room for future additions.

You could add a version property to the root and specify what the behavior should be if an unrecognized property is found.

My suggestion is that the spec should state something like the following:

  • unrecognized properties must be ignored by any implementation
  • the implementation should not attempt to parse the canvas if the version is greater that the version that the implementation supports
  • when writing a canvas file, the lowest version should be used that supports all features used in the current canvas document

The downside of this is that implementations will be slightly more complicated but it will give the spec a lot more room to grow.

@kepano kepano changed the title Prepare for future additions Version property Apr 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

1 participant