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

Allow variables to be passed in through string template literals #14

Open
lastmjs opened this issue Jan 19, 2018 · 1 comment
Open

Allow variables to be passed in through string template literals #14

lastmjs opened this issue Jan 19, 2018 · 1 comment

Comments

@lastmjs
Copy link
Member

lastmjs commented Jan 19, 2018

Create a tagged template literal thing that will allow variables to be easily passed in without the extra variables object...

@lastmjs
Copy link
Member Author

lastmjs commented Jan 23, 2018

I really think we need to allow this for GraphSM to cease being very verbose. Allow the previousResult variable to be implicitly in the scope of the template literal somehow...most of the boilerplate is in having to have a function for each query and returning the variables, though it is very powerful

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