Skip to content

infer expand types#138

Closed
stephanoskomnenos wants to merge 4 commits intopatmood:mainfrom
stephanoskomnenos:infer-expand
Closed

infer expand types#138
stephanoskomnenos wants to merge 4 commits intopatmood:mainfrom
stephanoskomnenos:infer-expand

Conversation

@stephanoskomnenos
Copy link

This PR makes expand types inferable from expand option string. It support multiple levels and multiple relations.

image

@patmood
Copy link
Owner

patmood commented Oct 1, 2025

This is a very large PR. How does it compare to the approach in #135 ?

@stephanoskomnenos
Copy link
Author

This is a very large PR. How does it compare to the approach in #135 ?

That one doesn't support nested expand and automatic type infer from expand option string.

@patmood
Copy link
Owner

patmood commented Oct 29, 2025

Hey @stephanoskomnenos, thanks for the PR!

I think #135 solves this quite elegantly and handles nested relations. Since this touches thousands of lines and has no detail, it's very hard to review.

I'm going to close it but if you think there's a reason this should be considered over the other approach, let me know and also provide some context about how it works.

Thanks!

@patmood patmood closed this Oct 29, 2025
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 this pull request may close these issues.

2 participants