Skip to content

How can I setup rules for fields visibility ? #373

@vsfedorenko

Description

@vsfedorenko

I want to set up field visibility rules for my fields. How can I do it?

I've noticed that I can create my own implementation of SchemaParser:
image

But when I started to override it, I've faced an issue. Ofc I don't want to write the whole logic from scratch, I want to extend existing SchemaParser: here I need to override the following method:
image
and toSchema():
image

And here I can tune visibility rules.

The problem is that one of the constructor arguments of SchemaParser is internal
image

And I can't reference this object in my code.
image

How to deal with it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions