Skip to content

Commit

Permalink
fix: Do not use Symfony Inflector yet: wrongly pluralizes "nodes_sour…
Browse files Browse the repository at this point in the history
…ces" to "nodes_sourcess"
  • Loading branch information
ambroisemaupate committed Jun 7, 2024
1 parent 2546848 commit e1eb282
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/packages/api_platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ api_platform:
version: '%env(string:APP_VERSION)%'
enable_swagger_ui: true
enable_re_doc: true
keep_legacy_inflector: false
# Symfony inflector wrongly pluralizes "nodes_sources" to "nodes_sourcess"
keep_legacy_inflector: true
graphql:
introspection: '%kernel.debug%'
graphiql:
Expand Down
2 changes: 2 additions & 0 deletions lib/RoadizCoreBundle/config/packages/api_platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ api_platform:
json: ['application/merge-patch+json']
enable_swagger_ui: false
enable_re_doc: true
# Symfony inflector wrongly pluralizes "nodes_sources" to "nodes_sourcess"
keep_legacy_inflector: true
graphql:
graphiql:
enabled: false
Expand Down

0 comments on commit e1eb282

Please sign in to comment.