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

Add an insert transformation #9

Open
xogeny opened this issue Oct 31, 2014 · 0 comments
Open

Add an insert transformation #9

xogeny opened this issue Oct 31, 2014 · 0 comments

Comments

@xogeny
Copy link
Owner

xogeny commented Oct 31, 2014

This could be done by creating a new transformation like import. But the problem there is that it wouldn't be very DRY. So ideally, I'd create some kind of visitor implementation where I could just plug in some simply code for each transformation.

Another alternative is to extend the import directive to allow inserting from some a supplied map[string]ElementList instead of just from a file.

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

No branches or pull requests

1 participant