You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to give these a default value or a beforeCreate hook?
When I go to create a user node and associate it with a Survey node, I get a Neo4j error about missing feedback and complete parameters.
I've tried adding a default value but it does not work.
Hi,
sorry, maybe nothing changed :D about default attribute of relationship properties schema.
So, if relationship props are defined by the same Ischema as model props, it just doesn't mean, that { /**Default value */
default?: any;} is implemented for relationships and i cant just use :
@marisb11 Hey there, I'm afraid that nothing has changed 😓 The default property comes from the validation package (called revalidator), which is a bit outdated and not very easy to adjust. So basically, that property is pretty much useless and should be ignored (both for the model and relationships).
I have a User model with a relationships property that looks like this:
Is there a way to give these a default value or a beforeCreate hook?
When I go to create a user node and associate it with a Survey node, I get a Neo4j error about missing feedback and complete parameters.
I've tried adding a
default
value but it does not work.I was creating my user node like this:
The text was updated successfully, but these errors were encountered: