-
Notifications
You must be signed in to change notification settings - Fork 69
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
Prefixing local records with ":" would be simpler than isLocal #501
Comments
a |
FYI @kenchris #375 (comment) explains why the prefix idea was not picked.
|
|
For the exercise, I've updated spec to see how it would look: #502 |
Right, I have overlooked that However, developers might be confused with this new Web NFC specific convention. It is also confusing because On the other hand, in a way it's a logical choice (local is like external, just that instead of the explicit domain-context we have the implicit local context). I'd prefer using the NFC Forum standardized type names, but we could assume this as a working hypothesis. We should make Notes about the Web NFC introduced conventions about type names and ask for developer feedback between this (the current way) or using the plain NFC Forum standardized type names ( |
I don't like isLocal because its optional so easy to get wrong, which is made clear with the last commits "sprinking it" over existing code :)
":" is not a valid first character for local record types, so it is fine.
I think it makes sense because we have local records in namespaced (external records) or standardized records (smart poster). It looks like a namespace where you just didn't explicitly write it out.
It will make make it very explicit where a local record type is used.
The text was updated successfully, but these errors were encountered: