Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
7a78fbe
Merge pull request #5356 from api-platform/3.1
soyuka Jan 22, 2023
c353e5a
fix(graphql): do not add id field if operation already has a dedicate…
jotwea Jan 23, 2023
851aa37
feat(graphql)!: add extra args for custom queries or mutations (#5359)
alanpoulain Jan 24, 2023
1b7acfa
refactor(metadata): metadata common abstract class (#5364)
Byidi Jan 26, 2023
7438eab
Merge branch '3.1' into chore/merge-3.1
alanpoulain Feb 1, 2023
657ed0f
Merge pull request #5386 from alanpoulain/chore/merge-3.1
alanpoulain Feb 1, 2023
51e4295
fix: missing parent construct calls with named arguments (#5387)
alanpoulain Feb 1, 2023
9b4b58c
Merge 3.1
soyuka Feb 3, 2023
9d63dad
Merge 3.1
soyuka Mar 13, 2023
ccecfbb
ci: add GitHub Actions concurrency (#5471)
vincentchalamon Mar 17, 2023
ebebc46
Merge 3.1 into main
soyuka Mar 20, 2023
8e0d936
Merge 3.1
soyuka Mar 23, 2023
ccef472
fix(openapi): use 3.1 version (#5489)
soyuka Mar 23, 2023
26cd25c
refactor(metadata): replace HttpOperation constants by raw strings (#…
Apr 21, 2023
db93dbc
docs: adr refactor state management (#4655)
dunglas Apr 25, 2023
f66bc9c
chore: fix code style (#5581)
colinodell May 3, 2023
7a1d351
feat(tests): add a method to generate the IRI from a resource (#5582)
GaryPEGEOT May 5, 2023
bf4b0e4
Merge 3.1
soyuka May 9, 2023
b546e85
style: symfony rules has use_nullable_type_declaration to false
soyuka May 23, 2023
9116f15
fix(symfony): provider can throw validation exception (#5586)
soyuka May 11, 2023
502234c
fix: allowed composite identifiers with differents types
Sarahshr May 22, 2023
33b1658
fix(serializer): disable_type_enforcement with null values (#5593)
soyuka May 23, 2023
8adfbe5
ci: php8 is allowed
soyuka May 23, 2023
4998150
fix(metadata): convert composite uri variables w/ proper type
soyuka May 23, 2023
4fa2736
ci: phpstan
soyuka May 23, 2023
932be55
cs: remove print
soyuka May 23, 2023
1b574eb
Merge pull request #5598 from soyuka/merge-31
soyuka May 23, 2023
1c79c30
ci: duplicated section
soyuka May 24, 2023
039ba86
test: invalid configuration exception
soyuka May 24, 2023
4ef0ef8
feat: error as resources, jsonld errors are now problem-compliant (#5…
JacquesDurand Jun 5, 2023
6babb3d
feat: replace doctrine/inflector by symfony/string (#5637)
Romaixn Jul 5, 2023
d793ffb
feat: union/intersect types (#5470)
vincentchalamon Jul 6, 2023
d971c2e
cs: various fixes
soyuka Jul 6, 2023
31a3e87
Merge branch 3.1 into main
soyuka Jul 6, 2023
bdbab30
cs
soyuka Jul 7, 2023
2df34d8
tests
soyuka Jul 7, 2023
c9d729e
tests
soyuka Jul 7, 2023
72817e6
Merge pull request #5652 from soyuka/merge31
soyuka Jul 7, 2023
27f2096
test: remove legacy inflector (#5656)
soyuka Jul 10, 2023
3af59e6
docs: improve README [skip ci]
dunglas Jul 19, 2023
c6d9755
Merge remote-tracking branch 'upstream/3.1'
dunglas Jul 20, 2023
f4dbd17
Merge branch '3.1'
dunglas Jul 24, 2023
370bd07
chore: apply a micro-optimization to explode() calls (#5690)
dunglas Jul 24, 2023
24133df
fix: merge (#5693)
dunglas Jul 24, 2023
c66023e
Merge remote-tracking branch 'upstream/3.1'
dunglas Jul 28, 2023
11c1300
fix: previous merge
dunglas Jul 28, 2023
fc35cef
chore: cleanup previous merge
dunglas Jul 28, 2023
b8ca845
test: fix error normalizer tests
dunglas Jul 28, 2023
ccadd22
Merge 3.1
soyuka Aug 3, 2023
4650918
Merge pull request #5714 from soyuka/merge
soyuka Aug 3, 2023
cdd426f
Merge 3.1
soyuka Aug 3, 2023
566727b
test: guides would not fail (#5724)
soyuka Aug 6, 2023
5e4b1da
Merge 3.1
soyuka Aug 8, 2023
5bc422c
Merge pull request #5727 from soyuka/merge
soyuka Aug 8, 2023
92a81f0
feat(graphql): allow to disable the introspection query (#5711)
epourail Aug 8, 2023
b659aa7
Closes #5736.
Aerendir Aug 9, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: apply a micro-optimization to explode() calls (#5690)
  • Loading branch information
dunglas authored Jul 24, 2023
commit 370bd071ca95eec43f989d7921ee0feb543d74fe
2 changes: 1 addition & 1 deletion src/Doctrine/Odm/Filter/RangeFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ protected function addMatch(Builder $aggregationBuilder, string $field, string $
{
switch ($operator) {
case self::PARAMETER_BETWEEN:
$rangeValue = explode('..', $value);
$rangeValue = explode('..', $value, 2);

$rangeValue = $this->normalizeBetweenValues($rangeValue);
if (null === $rangeValue) {
Expand Down
2 changes: 1 addition & 1 deletion src/Doctrine/Orm/Filter/RangeFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ protected function addWhere(QueryBuilder $queryBuilder, QueryNameGeneratorInterf

switch ($operator) {
case self::PARAMETER_BETWEEN:
$rangeValue = explode('..', $value);
$rangeValue = explode('..', $value, 2);

$rangeValue = $this->normalizeBetweenValues($rangeValue);
if (null === $rangeValue) {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Routing/ApiLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function load(mixed $data, string $type = null): RouteCollection
}

if ($controller = $operation->getController()) {
$controllerId = explode('::', $controller)[0];
$controllerId = explode('::', $controller, 2)[0];
if (!$this->container->has($controllerId)) {
throw new RuntimeException(sprintf('Operation "%s" is defining an unknown service as controller "%s". Make sure it is properly registered in the dependency injection container.', $operationName, $controllerId));
}
Expand Down