On Sunday, July 9, 2017 at 10:15:39 PM UTC-7, Aryk Grosz wrote: > > An example use case would be where for example, you are getting an object > through your api from the client. Your client doesn't know about your > classes, but sends back the type attribute. Based off that attribute you > want to load the right class and then call "create" or "new". > > You have validations on a subclass basis, so it is important to load the > write subclass so that the business logic runs... >
That sounds reasonable to me. Please submit a pull request with tests for this. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
