Skip to content

Commit

Permalink
Update 0006-filters.md
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Jan 18, 2024
1 parent 93527d6 commit bfe428b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/adr/0006-filters.md
Expand Up @@ -98,6 +98,8 @@ We need a way to instruct the program to parse query parameters and produce a li

Some code/thoughts:

#[Parameter(key: 'search', filter: new SearchFilter(property: 'foo'))]

```php
// how to give uidfilter the paramters it should declare?
// is it automatic if we find a property having the uid type?
Expand All @@ -106,7 +108,7 @@ class Book {

}

class Parameter {
class SearchParameter {
mixed $value;
?string $property;
?string $class;
Expand Down

0 comments on commit bfe428b

Please sign in to comment.