Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiple spaces #112

Open
bfioca opened this issue Jun 11, 2018 · 1 comment
Open

Support for multiple spaces #112

bfioca opened this issue Jun 11, 2018 · 1 comment

Comments

@bfioca
Copy link

bfioca commented Jun 11, 2018

Feature Request: It would be great if contentful_model supported multi-space configurations.

@dlitvakb
Copy link
Contributor

dlitvakb commented Aug 1, 2018

Hey @bfioca,

This would be an interesting feature, but I'd have to think into how to approach it, since it would involve a big refactor of the gem's configuration, which would be very incompatible with what's currently available. This refactor would also add complexity when creating the ContentfulModel::Base user-defined classes, as users would have to add the space which they want to use for each of their models, also would lead to confusion in cases which content types have similar names between spaces.

Do you have any proposal on how to do this with the least friction possible?

Cheers

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

No branches or pull requests

2 participants