Add types to generated adapter read method#901
Conversation
|
Don't get me wrong but, this is opinionated change, some linter rules might require removing type annotations in above cases while some might want them to be there. In any case I would suggest ignoring linting on generated files if that's the case with you. |
|
@themisir Oh, that's interesting -- hadn't thought of that. I'm still pretty new to dart and I thought putting types in these places was "the standard". You're probably right that I should ignore the generated files in my linter. |
|
Yeah don't worry, it's alright. Dart linter is somewhat configurable using |
Generated
readmethod for adapters is currently missing types on two local variables (numOfFieldsandfields). This PR would add those types to the generated code.