ignoreEndpoint top-level constant

  1. @Deprecated('Use `@doNotGenerate` instead')
_DoNotGenerate const ignoreEndpoint

Used to annotate endpoints that should be ignored by the Serverpod code analyzer.

If an endpoint class is annotated with this annotation:

  • No client code to call the endpoint will ge generated.
  • No server code to handle requests towards the endpoint will be generated.

Implementation

@Deprecated('Use `@doNotGenerate` instead')
const ignoreEndpoint = doNotGenerate;