Skip to content

Field model: New property "name without namespace" #79

@lorenzulrich

Description

@lorenzulrich

The getName() method of the Field domain model always returns the field name with its namespace.

Would you be open to add a getter "get name without namespace" (how should we name it)?

My use case:

To add frontend validation for my form, I need to evaluate the Schema definition of a field. So I want to check if field foo is configured in the SchemaDefinition. Since the schema definition uses the field name without namespace, I cannot look it up without such a getter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions