Updated field, type and graphql page to use the new argument and typelink components

This commit is contained in:
Andrew Bastin
2020-01-09 13:32:38 -05:00
parent faa420753f
commit cc396aecd3
3 changed files with 58 additions and 9 deletions

View File

@@ -8,7 +8,7 @@
<div v-if="gqlType.getFields">
<h5>FIELDS</h5>
<div v-for="field in gqlType.getFields()" :key="field.name">
<gql-field :gqlField="field" />
<gql-field :gqlField="field" :jumpTypeCallback="jumpTypeCallback" />
</div>
</div>
</div>
@@ -36,7 +36,9 @@ export default {
"gql-field": () => import("./field")
},
props: {
gqlType: {}
gqlType: {},
jumpTypeCallback: Function
}
};
</script>