Changeset 363 for elixir/trunk/CHANGES
- Timestamp:
- 07/14/08 21:51:36 (5 years ago)
- Files:
-
- 1 modified
-
elixir/trunk/CHANGES (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
elixir/trunk/CHANGES
r362 r363 9 9 polymorphic or not). Concrete polymorphic inheritance requires SQLalchemy 10 10 0.4.5 or later. 11 - Moved the entity to string mapping and resolving code to the (newly created) 12 EntityCollection class (which stores lists of entities). This allows one to 13 provide a custom mapping method if needed. The default class also overrides 14 the __getattr__ method, providing and handy way to get at your entities. 15 See source:elixir/trunk/tests/test_collections.py#L58 11 16 - Added new "identity" option which can be used to set a custom polymorphic 12 17 identity for an entity. It also accepts a callable so that you can generate … … 30 35 31 36 Changes: 37 - Default "target entity resolving code" changed slightly. It now uses a global 38 collection keyed on the entity name. This means that entities can refer to 39 other entities in a different module simply with the target entity name 40 instead of its full path. The full path is only required when there is an 41 ambiguity (ie when there are two classes with the same name in two different 42 modules). Closes #9. 32 43 - Added support for SQLAlchemy 0.5, and dropped support for version 0.3 and 33 44 earlier.
