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

LiveResource generator #494

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from
Draft

Conversation

makl9797
Copy link
Collaborator

I tried to work with some code generators and wanted to implement a simple generator for a Backpex.LiveResource. This generator serves as a starting point to take an existing schema module and create a Backpex.LiveResource. Simple field types like :integer, :string, and :boolean are converted into their corresponding Backpex types.

I believe there are many possibilities to enhance this generator or create additional ones, such as for item actions or resource actions.

This is my first time creating a generator like this, so there may be some aspects that need to be handled differently.

@makl9797 makl9797 self-assigned this Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant