cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Is it bad practice to reuse relationship types between different labels?

In the movies tutorial we have
(Actor)-[ACTED_IN]-(Movie)

What if we want to add TV shows or some other type of actor?
(Actor)-[ACTED_IN]-(Show)
(VoiceActor)-[ACTED_IN]-(Show)

Is reusing a relationship type bad practice?

Asking because of some schema inference warnings in neo4j-graphql

Thanks

1 REPLY 1

Never heard of this being an issue, in normal Cypher.
Yet, I don't use neo4j-graphql, so maybe it's something which has to do with graphql itself.
Could you post the warning messages?