You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The issue is happening when I change the parameter to nullable. It only happens when the nullable parameter is without required keyword.
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
The generated code should contains the duplicate condition of checking nullable parameter.
Screenshots
The declaration of my method:
The generated codes:
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered:
tungpham6195
changed the title
The duplicated condition of checking nullable file parameter while implementing multipart request
The duplicate condition of checking nullable file parameter while implementing multipart request
Dec 30, 2024
Describe the bug
The issue is happening when I change the parameter to nullable. It only happens when the nullable parameter is without
required
keyword.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The generated code should contains the duplicate condition of checking nullable parameter.
Screenshots
The declaration of my method:
The generated codes:
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The project is using retrofit_generator: 9.1.7
The text was updated successfully, but these errors were encountered: