Closed sordina closed 12 months ago
The recent v0.10 tag changed positional type names into qualified names matching the source names.
This failed to consider inline types, which (while possibly valid) would be better served as positional names.
This PR addresses this issue as seen with this program:
export function bar(x: {a: number, b: string}): string { return 'hello'; }
corresponding to this change in schema:
"object_types": { --- "{ a: number; b: string; }": { +++ "bar_arguments_x": {
https://github.com/hasura/ndc-typescript-deno/tree/v0.12 https://deno.land/x/hasura_typescript_connector@v0.12
The recent v0.10 tag changed positional type names into qualified names matching the source names.
This failed to consider inline types, which (while possibly valid) would be better served as positional names.
This PR addresses this issue as seen with this program:
corresponding to this change in schema:
Tags
https://github.com/hasura/ndc-typescript-deno/tree/v0.12 https://deno.land/x/hasura_typescript_connector@v0.12