Skip to content

sdk: change type of request_arguments to json.RawMessage#206

Merged
hgiasac merged 2 commits into
mainfrom
patch-request-arguments
Sep 23, 2025
Merged

sdk: change type of request_arguments to json.RawMessage#206
hgiasac merged 2 commits into
mainfrom
patch-request-arguments

Conversation

@hgiasac
Copy link
Copy Markdown
Collaborator

@hgiasac hgiasac commented Sep 23, 2025

  • sdk: change the type of request_arguments from map[string]anytojson.RawMessage. It's more convenient to decode user-defined request arguments with the built-in JSON decoder instead of using external libraries such as mapstructure`
  • misc: fix lint errors from godoclint

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Sep 23, 2025

Code Coverage

Package Line Rate Health
github.com/hasura/ndc-codegen-example 98%
github.com/hasura/ndc-codegen-example/functions 63%
github.com/hasura/ndc-codegen-example/types/arguments 43%
github.com/hasura/ndc-codegen-example/types 32%
github.com/hasura/ndc-sdk-go/v2/cmd/hasura-ndc-go/command/internal 84%
github.com/hasura/ndc-sdk-go/v2/cmd/hasura-ndc-go/command 46%
github.com/hasura/ndc-sdk-go/v2/cmd/hasura-ndc-go/version 62%
github.com/hasura/ndc-sdk-go/v2/connector 59%
github.com/hasura/ndc-sdk-go/v2/credentials 75%
github.com/hasura/ndc-sdk-go/v2/example/reference 54%
github.com/hasura/ndc-sdk-go/v2/ndctest 68%
github.com/hasura/ndc-sdk-go/v2/scalar 90%
github.com/hasura/ndc-sdk-go/v2/schema 23%
github.com/hasura/ndc-sdk-go/v2/utils/compression 67%
github.com/hasura/ndc-sdk-go/v2/utils 53%
Summary 46% (12481 / 26908)

Minimum allowed line rate is 40%

@hgiasac hgiasac merged commit 656e92a into main Sep 23, 2025
2 checks passed
@hgiasac hgiasac deleted the patch-request-arguments branch September 23, 2025 14:46
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.

1 participant