add generate_profile property to GenericSchema. it is not inherited b/c it doesn't seem like we have a good way to handle inheritance for a Boolean field with a default value right now. ideally, I would like a NodeSchema that inherits from a given GenericSchema to inherit the value of generate_profile unless generate_profile was explicitly set on the NodeSchema, but that seems like too much scope creep for this small-ish change
all Generic and NodeSchema will now include a profiles relationship, it was going to be a weird headache to try to conditionally add the profiles relationship for GraphQL based on the value of generate_profiles for a NodeSchema and the GenericSchemas that the NodeSchema inherits from
added a new RelationshipManager constraint to our existing node constraints to validate which kinds of profiles, if any, are allowed for a given node
fixes #3737
ProfileSchema
forGenericSchema
toogenerate_profile
property toGenericSchema
. it is not inherited b/c it doesn't seem like we have a good way to handle inheritance for a Boolean field with a default value right now. ideally, I would like aNodeSchema
that inherits from a givenGenericSchema
to inherit the value ofgenerate_profile
unlessgenerate_profile
was explicitly set on theNodeSchema
, but that seems like too much scope creep for this small-ish changeprofiles
relationship, it was going to be a weird headache to try to conditionally add theprofiles
relationship for GraphQL based on the value ofgenerate_profiles
for a NodeSchema and the GenericSchemas that the NodeSchema inherits fromTODO