Skip to content

Commit

Permalink
Merge pull request #331 from input-output-hk/fix/relay-field-mapping
Browse files Browse the repository at this point in the history
fix: add port and custom column names to pool_relay mapping
  • Loading branch information
rhyslbw authored Oct 6, 2020
2 parents cc7f4dd + 879a51a commit 9476b4f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,11 @@
- table:
schema: public
name: pool_relay
configuration:
custom_root_fields: {}
custom_column_names:
dns_srv_name: dnsSrvName
dns_name: dnsName
object_relationships:
- name: stakePool
using:
Expand Down
2 changes: 2 additions & 0 deletions packages/api-cardano-db-hasura/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,15 @@ type Relay {
ipv6: IPv6
dnsName: URL
dnsSrvName: String
port: Int
}

input Relay_bool_exp {
ipv4: text_comparison_exp
ipv6: text_comparison_exp
dnsName: text_comparison_exp
dnsSrvName: text_comparison_exp
port: Int_comparison_exp
}

type StakeDeregistration {
Expand Down

0 comments on commit 9476b4f

Please sign in to comment.