You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the Commercetools app, fields that uses the annotation for "Resolve content on delivery" Contentful:GraphQLFieldResolver should also set the parameters when creating a migration script.
Without it, it'll throw an error with the following message: Invalid annotation assignment. Annotation requires parameters
Possible Solution
After some digging, a Content Type contains a metadata.annotations that has the necessary values for appFunctionId and appDefinitionId. Is it possible to use this or something that is potentially easier behind the scenes when generating a script?
Expected Behavior
With the Commercetools app, fields that uses the annotation for "Resolve content on delivery"
Contentful:GraphQLFieldResolver
should also set the parameters when creating a migration script.e.g.
Actual Behavior
It only generates this without the second parameter:
e.g.
Without it, it'll throw an error with the following message:
Invalid annotation assignment. Annotation requires parameters
Possible Solution
After some digging, a Content Type contains a
metadata.annotations
that has the necessary values forappFunctionId
andappDefinitionId
. Is it possible to use this or something that is potentially easier behind the scenes when generating a script?Steps to Reproduce
contentful merge export
Context
Environment
The text was updated successfully, but these errors were encountered: