-
-
Notifications
You must be signed in to change notification settings - Fork 348
Rename some href* keywords to template* #420
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
Conversation
Addresses part of json-schema-org#416. Since "href", "anchor", and "base" all share the use of "hrefPointers" and "hrefRequired", let's call them something more generic. Note that since "hrefSchema" is NOT used with "anchor", it retains its existing name.
Renaming the keywords doesn't seem sufficient because most of surrounding texts still refers to href
only (see https://github.com/handrews/json-schema-spec/blob/b01c13a6d1744f5bbe0ad4339b60bdc38ffaf414/jsonschema-hyperschema.xml#L358 for instance). Maybe it's just a first step and you plan to rework this as part of the rewrite?
The template
prefix looks fine, I don't have a better idea at the moment.
@dlax I'm taking your last comment as an approval. Let me know if that's not correct and we'll sort it out / revert / change further / etc.
Uh oh!
There was an error while loading. Please reload this page.
Addresses part of #416. Since "href", "anchor", and "base" all share the use of "hrefPointers" and "hrefRequired", let's call them something more generic. Note that since "hrefSchema" is NOT used with "anchor", it retains its existing name.
I am not particularly attached to the
template*
prefix. I considereduri*
, but then would we want to change it toiri*
? So I went withtemplate*
. But other suggestions are welcome.