Skip to content

[Pages] Add clarification to call order of pages onRequest methods #19290

@tjsr

Description

@tjsr

Existing documentation URL(s)

https://developers.cloudflare.com/pages/functions/api-reference/

What changes are you suggesting?

In the list of onRequest method variants available, the documentation does not discuss what happens if both the generic and specific-verb method are defined and exported.

Some simple extra text to clarify the behaviour of functions will prevent people needing to test this behaviour themselves.

Additional information

I have created a draft PR for a proposed addition of wording at #19289

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions