Hello,

Say I have a ‘Foo' entity, with a to-many relationship ‘bars’ to a ‘Bar’ 
entity. Every Velocity generation template I’ve ever seen will output something 
like:

  public static final ERXKey<Bar> BARS = new ERXKey<Bar>(“bars”);

or, even better:

  public static final ERXKey<Bar> BARS = new ERXKey<Bar>(“bars”, 
ERXKey.Type.ToManyRelationship);

But shouldn’t ERXKey there be parameterized as ERXKey<NSArray<Bar>>? 
Admittedly, I’m struggling to see where it would make a huge difference—but 
just for completeness?


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to