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

StakeQueryInput GQL model differs from api.minasearch.com/graphql #1037

Open
n1tranquilla opened this issue Sep 25, 2024 · 0 comments
Open
Assignees
Labels
Data good first issue Good for newcomers
Milestone

Comments

@n1tranquilla
Copy link
Collaborator

in prod:

input StakeQueryInput {
  epoch: Int
  delegate: String
  ledgerHash: String
  stake_lte: String
  public_key: String
  username: String
}

in our code:


input StakeQueryInput {
  timing_exists: Boolean
  chainId_gte: String
  balance_ne: Float
  nonce: Int
  delegate_gte: String
  epoch_nin: [Int]
  public_key_gt: String
  ledgerHash_nin: [String]
  ledgerHash_lt: String
  chainId_in: [String]
  delegate_nin: [String]
  token_nin: [Int]
  token_lt: Int
  pk_gte: String
  balance_gt: Float
  ledgerHash_lte: String
  epoch_in: [Int]
  ledgerHash_gt: String
  delegate_gt: String
  pk_nin: [String]
  balance_lte: Float
  public_key_nin: [String]
  ledgerHash_ne: String
  voting_for: String
  nonce_in: [Int]
  permissions_exists: Boolean
  permissions: StakePermissionQueryInput
  chainId_nin: [String]
  token_gte: Int
  chainId_gt: String
  nonce_lt: Int
  pk_gt: String
  voting_for_lte: String
  receipt_chain_hash_in: [String]
  public_key_gte: String
  ledgerHash: String
  chainId_lte: String
  ledgerHash_in: [String]
  receipt_chain_hash_lt: String
  voting_for_gt: String
  balance_lt: Float
  token_ne: Int
  pk_in: [String]
  balance_exists: Boolean
  voting_for_gte: String
  delegate: String
  OR: [StakeQueryInput!]
  balance_nin: [Float]
  epoch_ne: Int
  nonce_gte: Int
  AND: [StakeQueryInput!]
  voting_for_exists: Boolean
  public_key_exists: Boolean
  token_in: [Int]
  receipt_chain_hash_lte: String
  epoch_lte: Int
  balance_gte: Float
  voting_for_lt: String
  chainId: String
  delegate_ne: String
  public_key_in: [String]
  delegate_lte: String
  pk_lte: String
  receipt_chain_hash_ne: String
  voting_for_in: [String]
  public_key_lte: String
  receipt_chain_hash: String
  voting_for_ne: String
  token: Int
  public_key: String
  balance_in: [Float]
  public_key_lt: String
  chainId_exists: Boolean
  token_lte: Int
  delegate_exists: Boolean
  balance: Float
  receipt_chain_hash_gte: String
  epoch_exists: Boolean
  nonce_nin: [Int]
  chainId_ne: String
  epoch_gte: Int
  epoch_gt: Int
  voting_for_nin: [String]
  pk: String
  pk_ne: String
  nonce_exists: Boolean
  receipt_chain_hash_exists: Boolean
  token_exists: Boolean
  epoch: Int
  receipt_chain_hash_gt: String
  chainId_lt: String
  token_gt: Int
  nonce_gt: Int
  receipt_chain_hash_nin: [String]
  timing: StakeTimingQueryInput
  pk_lt: String
  public_key_ne: String
  nonce_ne: Int
  epoch_lt: Int
  nonce_lte: Int
  delegate_in: [String]
  ledgerHash_gte: String
  ledgerHash_exists: Boolean
  pk_exists: Boolean
  delegate_lt: String
}

As an additional output of this task, create other tasks to trim down other GQL models in our codebase

@n1tranquilla n1tranquilla added the good first issue Good for newcomers label Sep 25, 2024
@n1tranquilla n1tranquilla added this to the Maintenance milestone Sep 25, 2024
@n1tranquilla n1tranquilla self-assigned this Sep 25, 2024
@jhult jhult added the Data label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Data good first issue Good for newcomers
Projects
Status: Backlog
Development

No branches or pull requests

2 participants