Jan Matusz
08/25/2022, 7:30 AMstaging
for develop branch, and production
for master branch). We have noticed a potential obstacle:
• have a query User{fullname}
,
• lets assume we want to change that query to return firstName, lastName
our initial thought was:
• lets change the provider to return {firstName, lastName, fullName}
• then we are able to make changes in the consumer, and deploy to staging
• then we are able to remove the redundant & unused fullName
from the provider, and deploy to staging
that would work okay for develop branch, but then if code gets merged to master
, we wouldn't be able to deploy provider (as the currently deployed production
consumer still requires fullName
to be passed)
and in such case, we are unsure how to proceed.Jan Matusz
08/25/2022, 7:32 AMJan Matusz
08/25/2022, 7:32 AMJan Matusz
08/25/2022, 7:34 AMdevelop
branch. Then, we would still be able to push to master and deploy code to production. However, i'm worried about cases where developers will forget that this fullName
is still required on the currently-deployed production consumer, and thus it will lead to git chaos because we would have to revert some just merged commits in order to get back to a point where the redundant attribute is not yet removed, deploy, and then remove.)Timothy Jones
08/25/2022, 7:42 AMTimothy Jones
08/25/2022, 7:43 AMTimothy Jones
08/25/2022, 7:44 AMTimothy Jones
08/25/2022, 7:45 AMJan Matusz
08/25/2022, 7:52 AMJan Matusz
08/25/2022, 7:52 AMTimothy Jones
08/25/2022, 7:54 AMJan Matusz
08/25/2022, 7:54 AMJan Matusz
08/25/2022, 7:55 AMJan Matusz
08/25/2022, 7:56 AMBoris
08/26/2022, 12:37 AMBoris
08/26/2022, 12:37 AMBoris
08/26/2022, 12:37 AM