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
I would like to be able to request resources with a composite key referencing the current object by just the other fields in the composite key.
{
# Without `pg-simplify-inflector` renames to show more clearlyallFoos {
nodes {
# Current solutionfooNamesByFooId(condition: { languageId: 1 }) {
# Will always return a list with asingle element since # (languageId, fooId) is the key for fooNamesnodes {
name
}
}
# What I want to do here:fooNamesByFooIdAndLanguageId(languageId: 1) {
# Returning the element directlyname
}
}
}
}
I could not find any way to accomplish this currently. Is this something that you would be interested in a PR/plugin for?
The text was updated successfully, but these errors were encountered:
I'm submitting a ...
PostGraphile version: v4.4.0
Given the following SQL
I would like to be able to request resources with a composite key referencing the current object by just the other fields in the composite key.
I could not find any way to accomplish this currently. Is this something that you would be interested in a PR/plugin for?
The text was updated successfully, but these errors were encountered: