You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
will return an empty Query object if Query is defined like this:
public class Query
{
[System.Text.Json.Serialization.JsonPropertyName("text")]
[Newtonsoft.Json.JsonProperty(PropertyName = "text")]
public string Text { get; set; }
}
`
Once I comment the the JsonProperty Attributes the above query returns the correct values.
Is this a bug?
P.S. Editor removes some symbols like "<"
The text was updated successfully, but these errors were encountered:
Having a simple query:
`var query = client.Cypher
.Match("(u:User {Sub: $sub})-[r:"+relationName+"]->(q:Query)")
.WithParam("sub",user.Sub)
.With("r,q")
.OrderByDescending("r.Time")
.Return((q,r) => new QueryHistoryReturn()
{
Query = q.As(),
RelationParams = r.As()
});
will return an empty Query object if Query is defined like this:
public class Query
{
[System.Text.Json.Serialization.JsonPropertyName("text")]
[Newtonsoft.Json.JsonProperty(PropertyName = "text")]
public string Text { get; set; }
}
`
Once I comment the the JsonProperty Attributes the above query returns the correct values.
Is this a bug?
P.S. Editor removes some symbols like "<"
The text was updated successfully, but these errors were encountered: