Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SchemaLoader loadCompiledTypeAndDependencies() ignores generic struct's parameter types #1929

Open
lewinb-corp opened this issue Feb 1, 2024 · 0 comments

Comments

@lewinb-corp
Copy link

Using a schema like

struct A {}

struct Struct (Parameter) {
  field @0 :Parameter;
}

struct ConsumingStruct {
  field @0 :Struct(A);
}

will lead to the SchemaLoader ignoring type A when loading the schema for ConsumingStruct using loadCompiledTypeAndDependencies(). Unfortunately the schema loader code is a bit too complex for me to dive right in and fix this (or even see if this is something that can be fixed easily enough).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant