Closed janosdebugs closed 1 year ago
@jaredoconnell I'm closing this but leaving the branch for future reference.
This is intended to take a data structure, and evaluate all items that go to that structure. Then reverse figure out what type needs to be there to produce the desired output type.
It is possible that this won't work. It should work, but the inferred type may be too broad to be of any use. Evaluate whether it's worth it.
Changes introduced with this PR
This PR contains the basics of reverse type inference needed for speculatively constructing an input schema. I will not merge this before I leave, but it should help when building this feature in the future.
By contributing to this repository, I agree to the contribution guidelines.