I’m using graphQL to try and load all Data Elements that are of a certain endorsement level. I want to omit all the content that hasn’t been approved beyond a certain level. I plan to replicate this for Value Domains and Data Element Concepts next.
I’ve gotten what I basically want through a query like this:
The problem is that it’s not parameterised. It simply grabs everything, and it’ll be up to the receiving code to sort through it all and omit the lesser status content.
Being a newbie with graphQL, every time I try to make a parameter based on stateName it fails to work.
Is there some server side configuration needed in order to make selections based on stateName ?
I thought it might need to go here, but all that’s available is the isCurrent function and ra:
The only parameterised graphQL query I’ve written prior to this was one using UUID. Apologies if this is a silly question and I’ve missed something obvious. I’ll keep researching.