We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
parent
child
package child type ChildStruct struct { Name string }
//ftl:data type ParentResponse struct { Message string `json:"message"` Data child.ChildStruct `json:"data"` }
An error saying you can't use types from subpackages
schema:
data ParentResponse { message String +alias json "message" data parent.ChildStruct +alias json "data" }
Not only is it not making an error when extracting the schema, the type parent.ChildStruct doesn't exist.
parent.ChildStruct
The text was updated successfully, but these errors were encountered:
fix: do not treat subpackage paths as part of the current package (#1530
3f74d1c
) fixes #1529
matt2e
Successfully merging a pull request may close this issue.
Steps:
parent
child
Expected:
An error saying you can't use types from subpackages
Actual result:
schema:
Not only is it not making an error when extracting the schema, the type
parent.ChildStruct
doesn't exist.The text was updated successfully, but these errors were encountered: