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

[OptionalFromPath] Type Issue fix for 5 arguments #167

Merged
merged 1 commit into from
Aug 20, 2021
Merged

[OptionalFromPath] Type Issue fix for 5 arguments #167

merged 1 commit into from
Aug 20, 2021

Conversation

Barackos
Copy link
Contributor

When 5 fields are provided into OptionalFromPath, the K4 generic should also be wrapped with NonNullable, same as the rest.

Discovered it by having my own use case with 5 arguments, which caused an unexpected build error.

When 5 fields are provided into `OptionalFromPath`, the last one should also refer to a `NonNullable` interface.
@gcanti gcanti merged commit aee4de3 into gcanti:master Aug 20, 2021
@gcanti
Copy link
Owner

gcanti commented Aug 20, 2021

Thanks @Barackos

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.

None yet

2 participants