Compile-time verifier for multivalued declarations.
For relationship-backed multivalueds:
- the relationship exists on the resource
- it is a
has_many - every sub-
mapwhose:attributeis set names a real attribute on the related resource
For multivalueds with mirror_primary_to::
mirror_primary_torequiresrelationship:to also be set- the named attribute exists on the parent resource
- the multivalued declares a sub-
mapfor the SCIM:valuesub-attribute (since that's what gets mirrored)
This catches typos at compile time so users don't get cryptic runtime
errors from manage_relationship or the encoder's load step.