flatbuffers icon indicating copy to clipboard operation
flatbuffers copied to clipboard

[C++] Check for case insensitive keywords

Open razvanalex opened this issue 1 year ago • 8 comments

Adds check against case insensitive keywords. Most languages are not affected by this change.

In PHP, some names such as Bool cannot be used because it is a reserved keyword for the bool data type. Adding the field keywords_casing in the configs enables checking in lowercase of all characters against every keyword. This should be safe as flatbuffers does not allow non-ASCII characters in its grammar.

This feature will be used in future PRs to improve PHP support in flatbuffers.

razvanalex avatar Oct 08 '24 14:10 razvanalex

Hey @wellitongervickas,

This observed behavior is a symptom of preflight styles (from something like TailwindCSS) impacting the layers that Payload puts its' styles into. A simple fix is to check your layout.tsx location and ensure you're not importing the preflight into the (Payload) location.

Let me know if this isn't the case. There were somewhat recent changes to how Payload ships its' styles.

akhrarovsaid avatar Oct 14 '24 19:10 akhrarovsaid

I'll change to get this from sub routers layout instead and check if work

wellitongervickas avatar Oct 14 '24 19:10 wellitongervickas

It worked, just removing reference of Tailwind from (payload)

wellitongervickas avatar Oct 14 '24 20:10 wellitongervickas

Happy to hear you found a solution! Will close accordingly.

jmikrut avatar Oct 15 '24 14:10 jmikrut

Found a solution moving my files to src/app/(frontend)/ folder 😀

GusLyon avatar Oct 16 '24 07:10 GusLyon

This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.

github-actions[bot] avatar Oct 18 '24 04:10 github-actions[bot]