Shaddix / react-query-swagger

Generates react-query hooks based on Swagger API definitions
MIT License
122 stars 4 forks source link

fix: `fix-null-undefined-serialization` doesn't replace undefined with null #34

Closed Rudomitori closed 8 months ago

Rudomitori commented 11 months ago

For some reason, NSwag started producing a space between undedined and ;, so the old pattern doesn't match anymore.

In several files I've saw the comment:

{% comment %}space before the ';' is important, so that 'undefined' here is not replaced with null{% endcomment %}

But in my project I haven't noticed any unexpected replacing of undefined with null after these changes.