Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

"-" in top level field names #713

Unanswered
rnadhani-ns asked this question in Q&A
Discussion options

I have a json like:

{ "cs-app": "Dropbox", "cs-app-cci": 10, "cs-app-tags": ["HR", "Marketing"], "simple": "Dropbox" }

"cs-app" == "Dropbox" returns False as its considered cs-app as StringNode instead of IdentifierNode and cs-app == "Dropbox" fails to compile.

Is there anyway to support this out of box other than using Patch?

You must be logged in to vote

Replies: 1 comment

Comment options

Yes.

$env['cs-app'] == 'Dropbox'
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /