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

feat: merge the types that matches the provided threshold. #2000

Open
laststylebender14 opened this issue May 21, 2024 · 0 comments · May be fixed by #2037
Open

feat: merge the types that matches the provided threshold. #2000

laststylebender14 opened this issue May 21, 2024 · 0 comments · May be fixed by #2037

Comments

@laststylebender14
Copy link
Contributor

currently for every json object a separate type is created (T1,T2,T3 etc). we want to merge the types that are similar with certain threshold.

Present Behaviour

type T18 {
  filterData: [Int]
  filterSuffixUrl: String
  propertyName: String
}

type T28 {
  filterData: [Int]
  filterSuffixUrl: String
  propertyName: String
}

type T38 {
  filterData: [Int]
  filterSuffixUrl: String
  propertyName: String
}

Expected Behaviour

# T18, T28 and T38 got merged into T40.
type T40 {
  filterData: [Int]
  filterSuffixUrl: String
  propertyName: String
}
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

Successfully merging a pull request may close this issue.

1 participant