@id as the combination of two things (composite index)

What you’re talking about are composite indexes like in SQL. You want a primary key on two columns.

This had been a feature request for a while.

As @amaster507 said, you can model your way out of this, but you really need to look at your security as well, since we do not have field-level auth yet. The only work around is probably going to be custom mutations, unless you’re not worried about security.

But, you need to change the model to re-think how GraphQL works.


1 Like