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

RFC: remove ndc-client #130

Merged
merged 3 commits into from
Apr 3, 2024
Merged

RFC: remove ndc-client #130

merged 3 commits into from
Apr 3, 2024

Conversation

paf31
Copy link
Collaborator

@paf31 paf31 commented Apr 2, 2024

@SamirTalwar
Copy link
Contributor

I approve this message.

hasura-bot pushed a commit to hasura/graphql-engine that referenced this pull request Apr 2, 2024
Ref: hasura/ndc-spec#130

- Avoid using NDC client code from ndc-spec for ndc API requests.
Instead, copy the client related code from ndc-spec into v3-engine.
- Code is copied into `.../execute/ndc/client.rs` module with the
following changes:
- API, configuration and error type related code is consolidated into a
single `client.rs` module.
- Derive error implementation for the error type using
`thiserror::Error` derive-macro
- Replace `opentelemetry` crate usage with `tracing_util` with necessary
changes
- Lot of redundant logic still there which will be addressed through
https://hasurahq.atlassian.net/browse/APG-53

V3_GIT_ORIGIN_REV_ID: 5766e407495c483cc4814d1286121b233aed3af0
@paf31 paf31 marked this pull request as ready for review April 2, 2024 19:25
@paf31 paf31 requested a review from codedmart as a code owner April 2, 2024 19:25
SamirTalwar
SamirTalwar previously approved these changes Apr 2, 2024
@paf31 paf31 merged commit e368a32 into main Apr 3, 2024
8 checks passed
@paf31 paf31 deleted the rfc/remove-client branch April 3, 2024 01:08
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