when you use
firestoreConnect((props) => {[
{
collection: 'posts',
orderBy: [['headline', 'desc']],
startAt: 'headline'
limit: 3
}
]
})
it does not support startAt parameter. It drops that parameter. See the request from chrome.
{"database":"projects/**/databases/(default)","addTarget":{"query":{"structuredQuery":{"from":[{"collectionId":"posts"}],"orderBy":[{"field":{"fieldPath":"headline"},"direction":"DESCENDING"},{"field":{"fieldPath":"__name__"},"direction":"DESCENDING"}],"limit":{"value":3}},"parent":"projects/**/databases/(default)"},"targetId":**}}
@mukeshyadav-cdac I believe this is due to code within redux-firestore, but we can still track progress on it in this issue. Thanks for reporting.
@prescottprue may i look into this and fix it?
@mukeshyadav-cdac Yeah that would be great! That is what open source is all about 馃嵒 .
You will most likely want to be changing code in the query utilities of redux-firestore.
@prescottprue This has been fixed in latest version mine was older one.