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

Deserialize attribute information from YAML #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Crell
Copy link
Owner

@Crell Crell commented Nov 27, 2022

This is a WIP at the moment. The goal is to get to the point where we can write a class analyzer (from AttributeUtils) that, instead of parsing with reflection, will read from a YAML file that has been hand-crafted. But we also want the ability to write out a template of said file from the class/attributes.

The goal is to allow things like defining the ORM settings or serializer settings entirely in YAML, without having to put attributes into the class. (Also doing JSON or array would be trivial at that point, but YAML is the most popular target.)

I'm now reasonably confident that this will work, but not on the particular way I have it working. I'm putting this PR up in case anyone else wants to weigh in before I next find time to play with it.

Feedback welcome at this point.

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.

None yet

1 participant