Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

Use existingMongoose in buildSchema #96

Closed
wants to merge 10 commits into from

Conversation

floriansimon1
Copy link

Not doing it makes my project with Mongoose v5 crash. The fix can be useful to anybody
that doesn't use Typegoose's mongoose version

Not doing it makes my project with Mongoose v5 crash. The fix can be useful to anybody
that doesn't use Typegoose's mongoose version
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 86.731% when pulling 1fba30d on floriansimon1:master into 3e0fe65 on szokodiakos:master.

@coveralls
Copy link

coveralls commented Jan 26, 2018

Coverage Status

Coverage increased (+1.2%) to 87.798% when pulling 09fe5f6 on floriansimon1:master into 3e0fe65 on szokodiakos:master.

@floriansimon1
Copy link
Author

This makes Typegoose usable in the frontend without importing Mongoose at all.

Florian added 3 commits January 2, 2019 15:43
…out including the complete Typegoose library

This (again), is useful when using Typegoose models in the frontend
@HarelAshwal
Copy link

LK"I

Hi There,
Can you give example on how to your typegoose Models with the frontend??

@floriansimon1
Copy link
Author

You can't. The only thing you can do is share the type with the frontend

@hasezoey
Copy link
Contributor

Can you give an example how/why this pull request should be used?

PS: and fix the merge conflicts?

@floriansimon1
Copy link
Author

Unfortunately, I don't have the time for that. It's been a while since I last touched the code base.

@HarelAshwal
Copy link

LK"I

too bad, had to do this myself.. :)
i've tweaked the code to support both server/client!

typegoose-frontend
hopefully someone can create a pull request and integrate this to typegoose

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

Successfully merging this pull request may close these issues.

None yet

4 participants