-
Notifications
You must be signed in to change notification settings - Fork 5
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
Expose saving a field in a contact or a paper for inline menu #249
Conversation
const cipher = this.inlineMenuCiphers.get(inlineMenuCipherId); | ||
|
||
const { data: contact } = (await client.query(Q(CONTACTS_DOCTYPE).getById(cipher.id), { | ||
executeFromStore: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about the executeFromStore here. Maybe we should get the fresh data no ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To remove because of the _rev
01e58d7
to
bb82b49
Compare
We use more and more lodash to manage data with path. It is working until now because it is present as a sub deps from Angular. Let's add it as an explicit deps to avoid future issues if they remove it.
bb82b49
to
5b037a9
Compare
// Add contact | ||
// const fileCollection = client.collection('io.cozy.files') | ||
// const references = [{ | ||
// _id: contact._id, | ||
// _type: 'io.cozy.contacts' | ||
// }] | ||
|
||
// await fileCollection.addReferencedBy(fileCreated, references) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je suppose pour la suite ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exactement, il y a encore quelques questionnements sur cette partie, mais "le reste marche"
No description provided.