Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abstract polymorphic type definition to allow non-contenttype scenarios #2

Open
charettes opened this issue Jan 17, 2014 · 1 comment

Comments

@charettes
Copy link
Owner

One should be able to define the type of an object based on another kind of field.

For example:

  1. The first two characters of a string primary key might identify the type of the object;
  2. An additional field (say tableoid in the case of PostgreSQL inheritance) could identify the type of the object.
@charettes
Copy link
Owner Author

It's only missing tests and docs at this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant