Add global resources defaults entry#1287
Conversation
| @@ -90,40 +91,47 @@ api_platform: | |||
| order_parameter_name: 'order' | |||
|
|
|||
| pagination: | |||
There was a problem hiding this comment.
We should deprecate this whole section, isn't it?
There was a problem hiding this comment.
There is no resource-wide equivalent for some global parameters (like partial_parameter_name).
There was a problem hiding this comment.
But shouldn't we uniformize and add them?
There was a problem hiding this comment.
Does it make sense? I'm not sure having a resource-wide partial_parameter_name is a good idea for example. Having a parameter name depending of the resource is very error prone.
Anyway the choice has been made in this PR: api-platform/core#3151.
If we want to change it it will be for the 2.7 version isn't it?
| @@ -218,40 +226,44 @@ api_platform: | |||
| url: | |||
|
|
|||
| http_cache: | |||
| # The URL sent in the Link HTTP header. If not set, will default to MercureBundle's default hub URL. | ||
| hub_url: null | ||
|
|
||
| messenger: |
There was a problem hiding this comment.
Not sure if we want to deprecate this one.
Using it will remove all the messenger services whereas it's not the case for the defaults one. But we can change it.
As you wish.
Documentation for api-platform/core#3151.