-
Notifications
You must be signed in to change notification settings - Fork 118
Single Extension Point #1102
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
Comments
Could you give an example @David-Chadwick? How is this different than using Do you mean literally have a property called |
I appreciate you think about alternatives and simplifications, David. However in this case, I think that developers would be more confused by mixing together fields with different characteristics into a single extension point. I'd rather that each field retain its own JSON member name and description. |
Yes I mean having a single extension point called |
Chair hat off, I would not be in favor of this change. |
I would not be in favor of this change. |
-1 to an "extension point bucket" :P |
there does not seem to be consensus to move in this direction. |
The issue was discussed in a meeting on 2023-05-24
View the transcript2.1. Single Extension Point (issue vc-data-model#1102)See github issue vc-data-model#1102. Kristina Yasuda: David Chadwick is looking to remove extension points and replace them with another approach. Michael Prorock: Frankly, I'd object to a change of this nature. Unless someone in the WG is willing to write a PR for this we should close it. Dave Longley: +1 to close. |
The issue was discussed in a meeting on 2023-06-07
View the transcript2.4. Single Extension Point (issue vc-data-model#1102)See github issue vc-data-model#1102. Brent Zundel: now talking about 1102. Was discussed and no one liked the idea so it was marked pending close. David Chadwick: Each of the extension points only get in if there are implementations but that the definitions could change.
David Chadwick: a single point makes it easier for developers to propose future extensions.
Brent Zundel: chair hat off, I would not be in favor of this change. It is not less confusing. Implementers have a small set of extension points that are well define is the better option. Joe Andrieu: +1 to all that, would also be opposed. Open ended extension mechanism exists in @context. David Chadwick: looking for technical reasons and haven't heard any.
Joe Andrieu: one of the technical arguments is that this mechanism already exists in Brent Zundel: it is clear, there is no path to consensus. Question to DavidC: do you plan to formally object is we close the issue? David Chadwick: No I would not. Dave Longley: If you want some incubation for your idea, create an extension in the @context that is a generic extension. David Chadwick: Thank you Dave, that is a good idea. Brent Zundel: Issue 959 back on the table. |
No consensus to proceed with this, but it may resurface after incubation elsewhere. |
Here is a radical proposal which simultaneously simplifies the data model and removes all arguments about which extension points to keep and which to move to a reserved list.
DELETE THEM ALL AND REPLACE THEM WITH A SINGLE EXTENSION POINT
The single extension point can be regarded as the supertype of all the existing extension points. The only mandatory parameter of the extension point is the type, and this must be a URI. After that, all the following parameters are determined by the type. The existing defined types for all the existing V1 extension points can still be used in the new generic extension point, since they are globally unique URIs. Hence their existing definitions will not change. All that changes is the definition of the new wrapper parameter. Instead of being ToU, or Evidence or whatever, it becomes extensionPoint. In this way there is no need to ever define a new extension point. The extensionPoint parameter can be used for all of them.
P.S. This is not a new idea, it's the existing standard X.509v3 model which has been proven to work.
The text was updated successfully, but these errors were encountered: