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

Ability to natively deal with types derived from go scalar types #884

Closed
alvaroaleman opened this issue Jan 20, 2024 · 0 comments · Fixed by #893
Closed

Ability to natively deal with types derived from go scalar types #884

alvaroaleman opened this issue Jan 20, 2024 · 0 comments · Fixed by #893

Comments

@alvaroaleman
Copy link
Contributor

Change
Summary of the proposed change and some details about what problem
it helps solve.

I have a custom string type downstream (type myType string) and currently I have to write a CustomTypeAdapter that casts this to string to be able to use it. It would be great if the DefaultTypeAdapter could do this by itself, having to write a CustomTypeAdapter is needlessly complicated IMHO.

Example
Replace this text with an example indicating the desired functionality.

Alternatives considered
Briefly list alternative designs, or an example of the functionality to be replaced.

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