-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I didn't review #96 properly and realised after it was merged that we were not adding transient
and passthru
for each properties.
It might make sense not to add them because they are an implementation choice.
However this leave with a few options:
1. transient & passthru default to false if not set in the service-info
This would have the advantage of not having to set them unless deviating from the default. It also "feels" right because the transient
and passthru
properties have some special status (they behave differently from the others) so it makes sense that they would require additional information in the service-info.
However, if this is the case, we should make it clear in the specification and unless I missed it, we're not at the moment.
2. transient & passthru have no default but are set in the minimal/extended schema
This would be similar to how we treat collated
so would be better for consistency. However that would force use to make a decision on which property is transient or collated and allow implementations to override this in their own schema definition. This might prevent implementation from deviating from what we set in the central schema.
Again that should be said explicitly in the specification
3. transient & passthru have no default and are not set in the minimal/extended schema
I believe this is the current state of the specification at the time of writing.
I think this prevent the effective reuse of the central schema as described in #100 because each implementation will have to specify the transient=false
and passthru=false
My vote is for option 1.