Fix Console service variable in web docs examples#1507
Conversation
Greptile SummaryThis PR fixes the
Confidence Score: 5/5The three changed templates all correctly apply the escaping filter in both declaration and usage sites; the keyword addition in JS.php is targeted and does not affect any other generated identifiers. The changes are narrow and correct: No files in this diff require special attention. Important Files Changed
Reviews (3): Last reviewed commit: "Fix console service docs example variabl..." | Re-trigger Greptile |
d975e96 to
5f4fc24
Compare
5f4fc24 to
287fff2
Compare
What\n- Avoid generating
const consolein web docs examples for the Console service\n- UseconsoleServicefor that service soconsole.log(result)still references the global console\n\n## Why\nThe generated Console SDK PR appwrite/sdk-for-console#89 received feedback that docs/examples/console/suggest-queries.md shadows the globalconsoleobject and breaks the example at runtime.\n\n## Verification\n-php example.php web\n-composer lint-twig