Skip to content

Made it possible to use via package managers & fixed subtypes of atomic types#6

Open
GeeWee wants to merge 14 commits into
peter-woyzbun:masterfrom
GeeWee:master
Open

Made it possible to use via package managers & fixed subtypes of atomic types#6
GeeWee wants to merge 14 commits into
peter-woyzbun:masterfrom
GeeWee:master

Conversation

@GeeWee
Copy link
Copy Markdown

@GeeWee GeeWee commented Oct 16, 2018

Closes #5

I added init.py to the typescript packages, and edited setup.py to include .ts files.

This does mean a init.py is copied into the typescript dir, but I didn't have time to provide a better fix.

While testing I ran into an issue where I had a field that was a Subclass of DateTimeField, which couldn't be used as a key into the ATOMIC_TYPES dict. Now we resolve atomic types via looping through the dict and doing an instanceof checks, to guard against this behaviour.

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

Successfully merging this pull request may close these issues.

Cannot copy tree typescript/src/core

1 participant