Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@aldeed
Copy link
Contributor

@aldeed aldeed commented Aug 7, 2019

Impact: minor
Type: chore

Part of epic #4996

Issue

Startup code is setting appVersion property on every Shop document. Nothing uses this. It's accessible from the systemInformation GraphQL query if needed.

Solution

  • Remove appVersion from shop schema
  • Remove code that was setting it
  • Migration to delete appVersion property from the database

Breaking changes

If custom code is relying on shop.appVersion, it will need to be updated to use the systemInformation GraphQL query.

Testing

  • Verify app starts
  • Look at Shops collection in database and verify shops do not have appVersion field. Logging should also show that migration 70 ran successfully.

@aldeed aldeed requested a review from kieckhafer August 7, 2019 03:17
@aldeed aldeed self-assigned this Aug 7, 2019
@aldeed aldeed mentioned this pull request Aug 7, 2019
45 tasks
Copy link
Member

@kieckhafer kieckhafer left a comment

Choose a reason for hiding this comment

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

👍 App starts, migration ran, database does not have appVersion in it

@kieckhafer kieckhafer merged commit d72a4f7 into develop Aug 7, 2019
@kieckhafer kieckhafer deleted the chore-aldeed-remove-shop-app-version branch August 7, 2019 21:31
@kieckhafer kieckhafer mentioned this pull request Aug 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants