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

added getDaoById query #262

Merged
merged 1 commit into from
Sep 28, 2023
Merged

added getDaoById query #262

merged 1 commit into from
Sep 28, 2023

Conversation

n13
Copy link
Collaborator

@n13 n13 commented Sep 28, 2023

So we can map a DAO id -> title (and other info, but for now we only need title)


final url = _remoteConfigService.graphQLEndpoint(network: network);
try {
final res = await _networkingManager.post(url, data: query);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feels so weird to do posts in order to get data

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well the body contains a rather elaborate query so... yeah. POST it is.

@n13 n13 merged commit 94ddec3 into main Sep 28, 2023
2 of 4 checks passed
@n13 n13 deleted the feature/getDaoTitle branch September 28, 2023 23:12
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