Skip to content

fix error when paramsToUse is null in makeFindMixin

Compare
Choose a tag to compare
@marshallswain marshallswain released this 01 Dec 01:13
· 589 commits to master since this release

With the makeFindMixin, the user is allowed to pass null as the params in order to prevent a query from being made. An error would occur when returning null as the fetchParams. This guards against trying to set an attribute on null.