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

Removing the requirement for protofields on each attribute #311

Merged
merged 1 commit into from
May 27, 2024

Conversation

AsherGlick
Copy link
Owner

@AsherGlick AsherGlick commented May 27, 2024

Finally, removing the requirement for a proto field attached to each attribute.

Also cleaning up the do_nothing hack that was present while we were unable to handle this case.

Overall this is pretty simple, we are allowing the markdown proto field to be set to null, if it is set to null then we dont include any of the proto_info into the attribute variable. If there is no proto_info in the attribute variable then the jinja template does not write anything for that attribute in the reader or the writer.

Fixes #215

Base automatically changed from cleanup_unused_template_vars to xml_converter May 27, 2024 22:25
@AsherGlick AsherGlick merged commit 0c4a322 into xml_converter May 27, 2024
12 checks passed
@AsherGlick AsherGlick deleted the remove_proto_field_requirement branch May 27, 2024 22:26
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.

2 participants