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
Hi. I'm trying to generate an rpc client for grakn using the protocol definitions from https://github.com/graknlabs/protocol and one of them has a doubly nested message, which we've extracted into a minimal test case here:
The Query2 case works fine (as expected) but the case where it's nested inside Transaction in an additional level of nesting generates a reference to Repro.Query_INFER rather than to Repro.Transaction_Query_INFER which causes this error:
gen/Repro.hs:121:77-93: error: …
Not in scope: type constructor or class ‘Repro.Query_INFER’
Perhaps you meant ‘Repro.Query2_INFER2’ (line 323)
No module named ‘Repro’ is imported.
|
Compilation failed.
I can work around this for the moment by editing the generated code but obviously that's not a good long term solution.
The text was updated successfully, but these errors were encountered:
Hi. I'm trying to generate an rpc client for grakn using the protocol definitions from https://github.com/graknlabs/protocol and one of them has a doubly nested message, which we've extracted into a minimal test case here:
The
Query2
case works fine (as expected) but the case where it's nested insideTransaction
in an additional level of nesting generates a reference toRepro.Query_INFER
rather than toRepro.Transaction_Query_INFER
which causes this error:I can work around this for the moment by editing the generated code but obviously that's not a good long term solution.
The text was updated successfully, but these errors were encountered: