Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite how admin elements are created #334

Open
szymach opened this issue Mar 14, 2019 · 0 comments
Open

Rewrite how admin elements are created #334

szymach opened this issue Mar 14, 2019 · 0 comments

Comments

@szymach
Copy link
Contributor

szymach commented Mar 14, 2019

Instead of manually creating element classes for every element, they could be composed of building blocks that could come from various sources. For example, elements without any additional logic could be nothing more than an entry in a YAML file, which would only provide element/Datagrid/Datasource id and a form class. If there was need for custom logic for ex. Datasource, a microservice class with just the __invoke method could be created to handle that one aspect. This way we could reduce 90% of the generated code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant