-
Notifications
You must be signed in to change notification settings - Fork 251
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
The getter 'MediaType' isn't defined for the class #692
Comments
@sbatezat will take a look at it in a few hours |
@sbatezat Import MediaType manually as a workaround |
Thanks, it's working by importing manually http_parser.
It's a workaround, as you said, so I keep this issue open waiting for a robust fix! |
@sbatezat The problem here is that MediaType is not imported by default if you are not using it in the template for the api, since we can't add imports in part files, the only solution I see is to expose http_parser's MediaType through |
Describe the bug
Bumping retrofit_generator from 8.1.0 to 8.1.1 leads to a generation error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Generator succeed
The text was updated successfully, but these errors were encountered: