question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Property that contains symbol creates an invalid property

See original GitHub issue

Property that contains a special character e.g. "property?": false, results in an invalid class property that contains a symbol.

[Newtonsoft.Json.JsonProperty("can_rent?"] public bool Can_rent? { get; set; }

Perhaps invalid symbols could be removed or replaced with a safe character?

public bool Can_rent_

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
uniquelaucommented, Jan 17, 2020

@RicoSuter Thanks! Re: “why” - completely agree, but it’s out of my control!

0reactions
RicoSutercommented, Sep 29, 2020

This would need to be fixed in the OperationNameGenerators

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to access object property with invalid characters
As you have noticed, your property contains an invalid character and therefore can't be accessed via dot notation. The solution, then, is to ......
Read more >
Invalid property name
The name you entered for the property is invalid. That is, it is already in use, reserved for use by the system, or...
Read more >
Property Name contains invalid characters - Android
It looks like the property name is “$change”, the dollar sign character is not allowed in the property name. What does the class...
Read more >
Error 3271 - Invalid Property Value using DAO.Database ...
Hello all. I have always used Parameterized QueryDef procedures to insert/update tables with a DAO.
Read more >
file name property is not valid. The file name is a device or ...
The file name is a device or contains invalid characters. End Error. The sample file name I want to use as my data...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found