
12 Mar
2011
12 Mar
'11
1:46 p.m.
On Sat, Mar 12, 2011 at 3:07 AM, Katsutoshi Itoh
Hi
I had often wanted FooIdIn, FooIdEq on Foo Persistent type. Would you support this by default?
from japan.
As Max said, glad to see that you're safe. For FooIdEq: I don't think there is any need, since it can be expressed more succinctly with the "get" function. As for FooIdIn: this *was* a recently requested feature. Maybe we can get it in for the next release. I think it would make sense to add the In attribute to the entity itself, eg: mkPersist [$persist| Person In name String age Int |] Any objections? Michael