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

Spec versioning #1

Open
rpominov opened this issue Mar 14, 2016 · 1 comment
Open

Spec versioning #1

rpominov opened this issue Mar 14, 2016 · 1 comment

Comments

@rpominov
Copy link
Member

We'll probably need to change spec over time. So we can end up in a situation where two libs use different spec versions and can't be used together. We should find the least painful way for dealing with those situations.

@rpominov
Copy link
Member Author

rpominov commented Apr 3, 2016

We could require a .specVersion property on type objects (similar to other meta info). The version could be obtained like this:

import {version} from 'static-land'

const MyType = {
  specVersion: version,
  ...
}

Just an idea, did't really considered all cons/pros yet...

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