Skip to content
#

controllers

Here are 104 public repositories matching this topic...

type-graphql
MichalLytek
MichalLytek commented Oct 20, 2018

The documentation was written a bit carelessly because that time I was focusing on iterating with code and features. Also my English is rather on B2/C1 level. That's why there might be some typos and grammar mistakes 😞

So I would like to ask the community to get involved in this project and help making TypeGraphQL great again at least 😄 If you fou

TKul6
TKul6 commented Feb 14, 2018

Hi,
I'm, having a strange problem when I need to send a string parameter in the query param section.
If i use the following code:

 @QueryParam('term')term= ''

I get an Error and the app return 404

But when I add the parameter type, everything works fine

 @QueryParam('term')term :string = ''

What do I do wrong?

kmova
kmova commented May 9, 2019

See if following gives some idea. Implementation may differ a/q to your choice

package main

type VolumeConfigBuilder struct {
  VolumeConfig   *VolumeConfig
  buildErrs []error
  failedChecks []error
}

func NewVolumeConfigBuilder() {
  return &VolumeConfigBuilder{
    VolumeConfig: &VolumeConfig{},
  }
}

func (vcb *VolumeConfigBuilder) Build() *VolumeConfig {
  // If le
Loading…
You can’t perform that action at this time.