Replies: 1 comment 3 replies
-
I think that should work fine, you just need to ensure Dog and Cat namespaces are within the Root namespace. Since each file's global scope is the global namespace, you need to be explicit, either by putting |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can import and use models.
But I can't figure out how to put http/rest stuff in different files and then compose them into one big root /api.
If the answer is "don't do that", that's fine too.
something like this to demo what I mean:
Beta Was this translation helpful? Give feedback.
All reactions