Skip to content

Conversation

@gadimbaylisahil
Copy link

@gadimbaylisahil gadimbaylisahil commented Feb 9, 2022

Hi, firstly thanks for the work on Mutations. It is really helpful library for us in both small and medium sized projects for business logic.

I just noticed that FloatFilter did not have empty_is_nil option like in IntegerFilter.

This PR is adding that functionality.

It's useful just like in IntegerFilter, float values can also be "" and it would be nice to handle it in the mutations rather than filtering and making them nil manually, as right now, they will not pass validations at Mutations and return an error that Field is blank.

Would appreciate if this is merged.

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.

1 participant