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 GraphQLQuery to support graph ql #12

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

wlsdms0122
Copy link
Owner

📌 Reference

Add any references to help understand this pull request.

🔥 Cause

If there is a reason, write why the code changes was occurred.

📄 Changes

Write what is changed.
You can write more detail informations using MD syntax.

  • Add GraphQLQuery to transfer to the server under the graph ql protocol.

    struct GetRepositoriesSpec: Spec {
        ...
        var request: any Request { .body(query, encoder: .codable) }
        var query: GraphQLQuery {
            .init(
                query: """
                query GetRepositoreis {
                    repositoryOwner(login: "wlsdms0122") { ... }
                }
                """
            )
        }
        ...
    }

🚧 Testing

Write how to test and results of changes using screenshots, gifs, any others.

@wlsdms0122 wlsdms0122 added this to the Dyson/2.2.0 milestone Aug 28, 2023
@wlsdms0122 wlsdms0122 self-assigned this Aug 28, 2023
@wlsdms0122 wlsdms0122 merged commit 08ac350 into develop Aug 28, 2023
@wlsdms0122 wlsdms0122 deleted the feature/support-graph-ql branch August 28, 2023 10:25
@wlsdms0122 wlsdms0122 mentioned this pull request Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant