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
{{ message }}
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.
For some reason some virtual fields are returning null for me, while others are working. When I specify the linkFieldName, the endpoint for lc doesn't even get hit to resolve the query. However, if I don't use a linkFieldName, it does hit the lc endpoint, and returns the correct data.
This library is amazing, and I love it, so I'm hoping there is a way to get this to work.
I also have another unrelated question: Is it possible to create more than one link for a field, to support polymorphic relations?
query {
cw {
course(id:"15968801-643e-48df-83ca-da275bf4acdd") {
id
name
assignments {
id
name
resource {
id
external_id
activity {
activity_title
}
}
}
}
}
}
Thanks for the bug report! The problem might occur because you are nesting links. I'm thinking of a particular TODO comment... I hope I'll find time to look into this soon.
Thanks! I was trying to figure out how everything worked in the library so I could make a fix and PR it back, but I think some of it is beyond my understanding. At what point does the single query get split up into multiple requests to the endpoints?
Summary
For some reason some virtual fields are returning null for me, while others are working. When I specify the linkFieldName, the endpoint for
lc
doesn't even get hit to resolve the query. However, if I don't use a linkFieldName, it does hit thelc
endpoint, and returns the correct data.This library is amazing, and I love it, so I'm hoping there is a way to get this to work.
I also have another unrelated question: Is it possible to create more than one link for a field, to support polymorphic relations?
Example of the problem
Schema
Query
Response
Notice how all of the activity fields are null
Working (without linkFieldName)
Schema
Query
Response
The text was updated successfully, but these errors were encountered: