Skip to content

Conversation

@tanner0101
Copy link
Member

@tanner0101 tanner0101 commented Feb 5, 2020

Provides a workaround for SR-12132 which causes custom operators defined in FluentKit to not be exported correctly (fixes vapor/fluent-kit#144, #656)

Custom operators for String filtering will now be available by importing just Fluent:

  • ~~: Value contains string
  • =~: Value has string prefix
  • ~=: Value has string suffix
  • !~: Value doesn't contain string
  • !=~: Value doesn't have string prefix
  • !~=: Value doesn't have string suffix

As well as operators for Array filtering:

  • ~~: Value in array
  • !~: Value not in array

@tanner0101 tanner0101 added bug Something isn't working semver-patch Internal changes only labels Feb 5, 2020
@tanner0101 tanner0101 merged commit 74c64be into master Feb 5, 2020
@tanner0101
Copy link
Member Author

These changes are now available in 4.0.0-beta.2.4

@tanner0101 tanner0101 deleted the tn-operator-fix branch February 5, 2020 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working semver-patch Internal changes only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unknown binary operator ~~

1 participant