decapi icon indicating copy to clipboard operation
decapi copied to clipboard

when `name` of a Field overlaps an existing resolver throw an error

Open capaj opened this issue 5 years ago • 0 comments

can be tested easily with

  @ArrayField({
    name: 'aaa'
  })
  async getRelatedCampaigns(@Context ctx: UserSessionContext) {
  }

  @ArrayField({
    name: 'aaa'
  })
  async getRelatedDashboards(@Context ctx: UserSessionContext) {
}
}

currently we override without any warning/fail

capaj avatar Jul 13 '20 12:07 capaj