Skip to content

Apply custom function for field entity #177

@dima-bzz

Description

@dima-bzz

Is it possible to apply a custom function to a parameter value? For example, remove all special characters.

filter=number=like='123????'

And when searching there will be number like '%123%'.
It would be convenient to register a custom function for an entity field and have this function applied when forming a request.

addEntityAttributeParser(Class<T> entityClass, String fieldEntity, Function<?, ?> function) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions