-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Recursive ref issue #96
Comments
Hi @djvs and thanks for the issue ! Yes, for the moment, I'm honestly not sure this is achievable, but I'll look into it. Possible solutions are:
|
10 tasks
sennyeya
added a commit
to sennyeya/backstage
that referenced
this issue
Jan 17, 2024
Currently, ThomasAribart/json-schema-to-ts#96 and microsoft/TypeScript#55638 point to the fact that this can't easily be completed at runtime. I'm going to explore moving more to the generated types. Signed-off-by: Aramis <sennyeyaramis@gmail.com>
sennyeya
added a commit
to sennyeya/backstage
that referenced
this issue
Jan 19, 2024
Currently, ThomasAribart/json-schema-to-ts#96 and microsoft/TypeScript#55638 point to the fact that this can't easily be completed at runtime. I'm going to explore moving more to the generated types. Signed-off-by: Aramis <sennyeyaramis@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Taking this file as an example:
I'm seeing this:
Type of property 'fields' circularly references itself in mapped type '{ id: { type: "primitive"; value: string; isSerialized: false; deserialized: never; }; key: { type: "primitive"; value: string; isSerialized: false; deserialized: never; }; type: { type: "const"; value: "object"; isSerialized: false; deserialized: never; }; name: { ...; }; fields: _$Array<...>; }'. (tsserver 2615)
This was working prior to an update from 1.6 to latest (2.5.5). Recommendation on how to resolve?
The text was updated successfully, but these errors were encountered: