Skip to content

Conversation

@jessicamrbr
Copy link

Related Issue

(#2719)

How Has This Been Tested?

no tested

".map[",
dynamic,
this._options.nullSafety ? "]!" : "]",
(this._options.nullSafety && !isNullable) ? "]!" : "]"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
(this._options.nullSafety && !isNullable) ? "]!" : "]"
(this._options.nullSafety && !enumType.isNullable && !isNullable)? "]!" : "]",

In my tests, this is the code that worked

Copy link

@djnugent djnugent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on my project and it works

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.

3 participants