samvera / questioning_authority

Question your authorities
Other
54 stars 30 forks source link

configure a default value for property_map.optional? #255

Closed elrayle closed 4 years ago

elrayle commented 5 years ago

property_map.optional? is hardcoded to default to false. The impact is that, by default, all context will be shown even when it did not exist in the graph. Sites can configure this by setting optional: true in the authority configuration. But this has to be added for every property.

A better approach is to allow sites to decide the default value through a configuration.