Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Rename to GoalInvocation; deprecate status#426

Merged
cdupuis merged 20 commits intomasterfrom
nortissej/deprecate-status
Jul 3, 2018
Merged

Rename to GoalInvocation; deprecate status#426
cdupuis merged 20 commits intomasterfrom
nortissej/deprecate-status

Conversation

@jessitron
Copy link
Copy Markdown
Contributor

@jessitron jessitron commented Jul 3, 2018

This is a step in the direction of #408

The duplication in SdmGoalMessage and SdmGoalEvent is part deliberate (the Message really is its own type, for updating and storage) and part a workaround: I'd rather use a generated-from-graphql type for the event, but none of the fields are required, and we can't make them required yet. Once we can, we should be able to replace that type with an alias to a generated one.

@jessitron jessitron changed the title update index rename to GoalInvocation; deprecate status Jul 3, 2018
@jessitron jessitron requested review from cdupuis and johnsonr and removed request for cdupuis July 3, 2018 04:20
@cdupuis cdupuis self-requested a review July 3, 2018 06:11
Copy link
Copy Markdown
Member

@cdupuis cdupuis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't merge. I'll add some changes on top of that.

@cdupuis cdupuis changed the title rename to GoalInvocation; deprecate status Rename to GoalInvocation; deprecate status Jul 3, 2018
@cdupuis cdupuis added the changelog:deprecated Add this issue or pull request to deprecated changelog section label Jul 3, 2018
@cdupuis
Copy link
Copy Markdown
Member

cdupuis commented Jul 3, 2018

@jessitron you want to merge this before killing the status field? or after?

@jessitron
Copy link
Copy Markdown
Contributor Author

all downstream things can use status, don't remove it yet

@cdupuis
Copy link
Copy Markdown
Member

cdupuis commented Jul 3, 2018

what about sdmGoal -> Push -> imageLink? we don't have that right now. That needs to be added.

constructSdmGoalImplementation,
storeGoal,
} from "./storeGoals";
import { SdmGoalFulfillment, SdmGoalMessage } from "../../api/goal/SdmGoalMessage";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format imports

Jessica Kerr and others added 2 commits July 3, 2018 10:51
the index showing up in the package doesn't match the one I see here
[atomist:generated]
@cdupuis cdupuis merged commit 15b3988 into master Jul 3, 2018
@cdupuis cdupuis deleted the nortissej/deprecate-status branch July 3, 2018 21:53
atomist-bot added a commit that referenced this pull request Jul 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

changelog:deprecated Add this issue or pull request to deprecated changelog section

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants