-
Notifications
You must be signed in to change notification settings - Fork 123
V2 toMany relation structure support in V3 #152
Comments
Thanks so much @wwwy3y3, now it works correctly after upgrading from |
Hi @Anakros As we announced in our blog post: https://www.cannercms.com/blog/2019/02/07/canner-v3#migration-from-canner-v2-v3 We'll release a new feature next week allows you to create the exact same structure in v2 using <relation keyName="categories"
ui="multipleSelect"
title="categories"
relation={{type: 'toMany', to: 'categories', mode: 'embed'}}
uiParams={{
columns: [{
title: 'Name',
dataIndex: 'name'
}]
}}
/> We'll also publish a migration guide for developers to transform from v2 to v3. I'll mention you in this thread as well. If it's okay, I'd like to change the title to |
@Anakros regarding deployment to Firebase, We'll add a section in document as well next week that teach people how to deploy to Firebase Cloud Function. Since our architecture includes GraphQL Server and the Authentication server, it's easier to deploy the whole thing to Cloud Function. |
Yes, sorry about the title, @wwwy3y3, I've changed it myself. By any chance do you have any technical details already regarding deployment to Firebase or I should wait until you release it in the documentation next week? Thanks for your help again. |
@Anakros There are still some optimization details (for example the cloud function bundle size) we're trying out here. We really want developers to have the best experience using Canner. We plan to publish a blog post approximately next Tuesday if it's okay. Thanks! |
Thanks, looking forward to it! |
Hi @wwwy3y3 Are there any news on the deployment to Firebase? |
Steps to reproduce: follow the quick start tutorial here, select blog template, optionally configure firebase/firestore datasource, try to add multiple objects in
<relation>
field and take a look at the database structure.Currently the structure look like this:
Categories
Posts
As we can see Canner creates not even different relation type, but for completely wrong schema too. It happens for all types of the data source: memory, firebase, firestore.
How could this happen?
The text was updated successfully, but these errors were encountered: