Custom schema remember previous value
Open
- Dominant language
- JavaScript
- Stars
- 134
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
Hi:
I'm using a custom schema like this
```
new querymen.Schema({
store: {
type: RegExp,
paths: ['store'],
normalize: true,
},
});
```
If I made a request like this:
myurl.com/stores/?store=amazon, everithing is ok, but if I made a request after, but without any params: myurl.com/stores/, for some reason i keep getting this { store: /amazon/i } in my query
Is there a way to fix this behavior? or maybe I'm missing somethings.
best regards.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.