Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"utopia-php/cache": "^8.0",
"utopia-php/pools": "^2.0",
"utopia-php/mongo": "^1.5.4",
"utopia-php/query": "^0.8.0",
"utopia-php/query": "^0.8.0 || ^0.9.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ext-utopia alone does not guarantee the query library is enabled

Composer satisfies this alternative whenever the extension is installed, even if an application configures utopia.libraries=validators or another explicit list without query. Query 0.9 removes the PHP implementations, so Utopia\Query\NativeQuery and the other query classes are then unavailable at runtime; the 0.8 PHP fallback worked in that configuration.

Prompt To Fix With AI
This is a comment left during a code review.
Path: composer.json
Line: 57

Comment:
**ext-utopia alone does not guarantee the query library is enabled**

Composer satisfies this alternative whenever the extension is installed, even if an application configures `utopia.libraries=validators` or another explicit list without `query`. Query 0.9 removes the PHP implementations, so `Utopia\Query\NativeQuery` and the other query classes are then unavailable at runtime; the 0.8 PHP fallback worked in that configuration.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

🟡 Minor · bug · Reply if this doesn't apply.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not changing: Composer cannot see utopia.libraries, and an app that lists libraries without query and installs 0.9 fails at boot with a missing class, not silently.

"utopia-php/async": "^0.2"
},
"require-dev": {
Expand Down
5 changes: 3 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading