Skip to content

Commit

Permalink
Extra notes on OpenReader custom resolvers
Browse files Browse the repository at this point in the history
	modified:   docs/sdk/reference/openreader-server/configuration/custom-resolvers.md
  • Loading branch information
abernatskiy committed Mar 6, 2025
1 parent 90e3f0c commit ead780a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ LOG.info('created a dedicated logger for my-resolver')

`LOG` here is a [logger object](/sdk/reference/logger) identical to `ctx.log` interface-wise.

## Interaction with global settings

* `--max-response-size` used for [DoS protection](/sdk/reference/openreader-server/configuration/dos-protection) is ignored in custom resolvers.
* [Caching](/sdk/reference/openreader-server/configuration/caching) works on custom queries in exactly the same way as it does on the schema-derived queries.

## Troubleshooting

#### `Reflect.getMetadata is not a function`
Expand Down

0 comments on commit ead780a

Please sign in to comment.