pimcore / data-hub

Data delivery & consumption platform for Pimcore.
Other
127 stars 109 forks source link

In mutation schema fields unable to add manytomanyobjectRelation #159

Closed priyards24 closed 4 years ago

priyards24 commented 4 years ago

Hi,

I have installed datahub configuration and implemented query schemas which are working fine. But am facing issue with mutation schema fields in which when am trying to add any relational datatype it is showing "the datatype manytomanyobjectrelation not supported yet".

Am I missing anything? Can you please give me a solution for this.

Thank you mutationissue

weisswurstkanone commented 4 years ago

Currently not supported.

See https://github.com/pimcore/data-hub/blob/master/doc/graphl/Mutations.md for supported mutation types.

Do you want to create a PR? Should be quite similar many-to-many-relations except that only objects are allowed.

weisswurstkanone commented 4 years ago

It is supported now

priyards24 commented 4 years ago

Thank you so much, it's working now. Do advancedManyToManyObjectRelation also will be supported? If not is there any other alternative to advancedManyToManyObjectRelation to use in the mutation schema field? Thanks in advance.

weisswurstkanone commented 4 years ago

There will be support for advanced relations as well but I am still not sure about the appropriate schema. Ideas are welcome ;-)

priyards24 commented 4 years ago

So advancedManyToManyObjectRelation in mutation schema fields cannot be used as of now? If you find any alternative please let me know. Thank you.

weisswurstkanone commented 4 years ago

I am saying that manyToManyObjectRelations can be used. For the advancedManyToMany types I have to find a decent idea for the graphql schema

priyards24 commented 4 years ago

ok. Thank you for your support and immediate response.