Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const fragment = gql`
${FLOW_PARTS}
fragment BasicFlowParts on BasicFlow {
... on Node {
id
}
parameters {
id
value
}
}
`;
export const reducer = (issue: IssueParts, input: UpdateIssueNameInput): IssueParts => ({
...issue,
name: input.name
});
export default createResolver(
reducer,
fragment,
'IssueParts',
(input: UpdateIssueNameInput) => {
return input.id;
},
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.