Issue:
In the readme, the example in line 125 was confusing and misleading.
As per the example factor filter: ({ filter, status, limit }: FilterOptions) => [filter, status, limit], but in the call todosKeys.filter('not-owned-by-me', 'done', 15); which is a mistake.
@Shajansheriff thanks for noticing the typo and correcting it!
Can you just adjust you PR so it matches the conventional commits convention and put a more descriptive message?
Issue: In the readme, the example in line 125 was confusing and misleading. As per the example factor
filter: ({ filter, status, limit }: FilterOptions) => [filter, status, limit],
but in the calltodosKeys.filter('not-owned-by-me', 'done', 15);
which is a mistake.Solution: I have verified test case and the usage https://github.com/lukemorales/query-key-factory/blob/8278ce5dcade451ee4736a1108493efc4866e947/src/create-query-keys.spec.ts#L131
It feels like a simple typo mistake.