Default value for nested property: #query.maxResults:int:0#

View: New views
1 Messages — Rating Filter:   Alert me  

Default value for nested property: #query.maxResults:int:0#

by yuridewit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am having some difficulties trying to set a default for a nested property. I basically have a a query object that contains a maxResults property and I pass this query object in a Map to the query. My query contains:

#query.maxResults:int:0#

When query is null, I am seeing a null value being passed and not 0. Am I missing something or is this as designed?

Thanks in advance,