mikeywaites / kim

Kim: A JSON Serialization and Marshaling framework
http://kim.readthedocs.org/en/latest/
Other
317 stars 17 forks source link

Mapper class names in registry should not be required to be globally unique #63

Open jackqu7 opened 9 years ago

jackqu7 commented 9 years ago

For example, if your application includes third party libraries that define their own Kim Mappers, you're likely to have conflicts with common names such as User.

A simple workaround could be to namespace them by module, using sensible defaults to mean in most cases it's not required to use the full path.

ie. If the Nested is in foo.serializers, look there first rather than bar.serializers

jackqu7 commented 9 years ago

(don't forget to update the docs, which currently say it's not possible)