Map arguments #7

Open
opened 2026-05-06 15:36:38 +02:00 by c.fahner · 0 comments
Owner

Currently only a limited set of scalar arguments to HTTP resources are supported: strings, ints, floats and bools. Anything else requires creating a custom "extractor."

It should be possible to declare maps (associative arrays or ArrayAccess) as parameters to the #[Method] annotated functions of HTTP resources. The keys and values are optionally typed.

Currently only a limited set of scalar arguments to HTTP resources are supported: strings, ints, floats and bools. Anything else requires creating a custom "extractor." It should be possible to declare maps (associative arrays or `ArrayAccess`) as parameters to the #[Method] annotated functions of HTTP resources. The keys and values are optionally typed.
c.fahner added this to the v0.2 milestone 2026-05-06 15:36:38 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
slendium/framework#7
No description provided.