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

Remove Deprecated Fields from GraphQL Provider Queries #116

Open
teddyjfpender opened this issue Dec 27, 2023 · 1 comment
Open

Remove Deprecated Fields from GraphQL Provider Queries #116

teddyjfpender opened this issue Dec 27, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@teddyjfpender
Copy link
Contributor

teddyjfpender commented Dec 27, 2023

Some of the GraphQL provider queries have deprecated fields. We must remove them and use the proper fields.

For example in AccountInfoProvider's query:

export const getAccountBalance = `
  query accountBalance($publicKey: PublicKey!) {
    account(publicKey: $publicKey) {
      balance {
        total
      },
      nonce
      inferredNonce
      delegate
      publicKey
    }
  }
`

The delegate field is deprecated & should be replaced with delegateAccount.

@teddyjfpender teddyjfpender added enhancement New feature or request good first issue Good for newcomers labels Dec 27, 2023
@daredevil3435
Copy link

so we basically have to replace delegate with delegateAccount? correct me if wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants