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

Update GraphQL query string to use contract name from configuration #8

Open
mgravitt opened this issue Mar 14, 2020 · 0 comments
Open
Labels
good first issue Good for newcomers

Comments

@mgravitt
Copy link
Contributor

The config.yaml file lists the contract that messages are published to. It is Eosio.PublishAccount.

This is obtained with viper.GetString("Eosio.PublishAccount")

However, the GraphQL template used to query is having issues with dynamic injection of strings.

I'm sure it's simple but I tried a few options and it didn't work. Until this is fixed, changing the messaging contract using GraphQL is not supported.

https://github.com/eosio-enterprise/chappe/blob/master/pkg/dfuse-graphql.go#L68

@mgravitt mgravitt added the good first issue Good for newcomers label Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant