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
we have some dependencies to not-exported types in our json schema. these types get an "alias" name in the generated json schema that changes every time the types are re-generated. this results in a lot of unnecessary changes that make it hard to review changes in source control.
it would be nice if the alias could be generated with a hash that was the same on every generation. maybe a hash that takes the name of the type as an input?
here is an example:
type A = { a: string };
export type B = Partial<A>;
we have some dependencies to not-exported types in our json schema. these types get an "alias" name in the generated json schema that changes every time the types are re-generated. this results in a lot of unnecessary changes that make it hard to review changes in source control.
it would be nice if the alias could be generated with a hash that was the same on every generation. maybe a hash that takes the name of the type as an input?
here is an example:
when the json schema is generated you get this:
this is ok, but if you commit this to source control and regenerate (without changes) you get different alias values.
The text was updated successfully, but these errors were encountered: