Skip to content

Commit

Permalink
fix: Asset_bool_exp.tokenMints
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyslbw committed Apr 19, 2021
1 parent 87e8b94 commit 7616a49
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/api-cardano-db-hasura/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ input Asset_bool_exp {
logo: text_comparison_exp
name: text_comparison_exp
policyId: text_comparison_exp
tokenMints: TokenMint_bool_exp
url: text_comparison_exp
}

Expand Down
7 changes: 6 additions & 1 deletion packages/api-cardano-db-hasura/test/assets.query.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ describe('assets', () => {
const result = await client.query({
query: await loadQueryNode('assets'),
variables: {
where: { fingerprint: { _eq: 'asset12h3p5l3nd5y26lr22am7y7ga3vxghkhf57zkhd' } }
where: {
_and: [{
fingerprint: { _eq: 'asset12h3p5l3nd5y26lr22am7y7ga3vxghkhf57zkhd' },
tokenMints: { transaction: { includedAt: { _gt: '2017-09-23T21:44:51Z' } } }
}]
},
}
})
const { assets } = result.data
Expand Down

0 comments on commit 7616a49

Please sign in to comment.