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

Make type coercion easier to use #7

Open
msporny opened this issue Jan 18, 2011 · 0 comments
Open

Make type coercion easier to use #7

msporny opened this issue Jan 18, 2011 · 0 comments

Comments

@msporny
Copy link
Member

msporny commented Jan 18, 2011

We may want to specify types first in the type coercion map and the properties that they apply to:

"xsd:integer": ["foaf:age", "house:rooms"]

We may also want to support coercion to language-native types in a certain order:

"foaf:age": ["xsd:integer", "xsd:string"]

So that people could do this:

"foaf:age": "15" or "foaf:age": "fifteen"

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

1 participant