Skip to content

Commit

Permalink
add config param
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy2003 committed Nov 3, 2019
1 parent 83518ec commit 3ec0028
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public SpqrAutoConfiguration(ConfigurableApplicationContext context) {
}

@Bean
@ConditionalOnProperty("graphql.spqr.multipartUpload.enabled")
@ConditionalOnProperty(value = "graphql.spqr.multipart-upload.enabled", havingValue = "true")
public Internal<Module> uploadModule() {
FileUploadHandler uploadAdapter = new FileUploadHandler();
return new Internal<>(context -> context.getSchemaGenerator()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ graphql.spqr.relay.enabled=true
graphql.spqr.relay.mutation-wrapper=relayWrapper
graphql.spqr.relay.mutation-wrapper-description=relayWrapperDescription

graphql.spqr.multipartUpload.enabled=true
graphql.spqr.multipart-upload.enabled=true

graphql.spqr.http.endpoint=custom-graphql

Expand Down

0 comments on commit 3ec0028

Please sign in to comment.