Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/new resources #17

Merged
merged 4 commits into from
Jan 11, 2019
Merged

Feat/new resources #17

merged 4 commits into from
Jan 11, 2019

Conversation

Robert-W
Copy link
Contributor

@Robert-W Robert-W commented Jan 9, 2019

This PR makes the following changes:

  • Added R4(4.0.0) resources
  • Updated DSTU2 resources
  • Updated STU3 resources
  • Added CHANGELOG.md which will double as release notes
  • Updated version to 1.0.0 (FINALLY)
  • Added @asymmetrik/sof-graphql-invariant for cleaner Smart on FHIR support
  • Added environment variables for feature flag setting

BREAKING CHANGES (Listed in CHANGELOG.md):

@asymmetrik/sof-graphql-invariant depends on a newer version of GraphQL than what was used. GraphQL has been updated here but when upgrading, users may need to remove node_modules and reinstall. They will need to run yarn install regardless since we added new dependencies.

Robert Winterbottom added 3 commits January 9, 2019 13:34
BREAKING CHANGE: New resources contain new dependencies. One of these
contains graphql which may require you to delete and reinstall node
modules. We have updated several versions so when updating, you should
rerun yarn install and may need to remove node_modules before hand.
@Robert-W Robert-W added the enhancement New feature or request label Jan 9, 2019
@Robert-W Robert-W self-assigned this Jan 9, 2019
@coveralls
Copy link

coveralls commented Jan 9, 2019

Pull Request Test Coverage Report for Build 81

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 73: 0.0%
Covered Lines: 105
Relevant Lines: 105

💛 - Coveralls

@sureshHARDIYA
Copy link
Contributor

Could we get this PR merged :) would be nice to have it working.

@Robert-W
Copy link
Contributor Author

@sureshHARDIYA Unfortunately this is probably not going to happen today. Since this PR is so large it is going to take some time to verify things are working the way we want and the newly generated code does not reintroduce old bugs. We have unit tests and some basic integration tests to verify the code runs fine, but we need to go through and try to make sure things are conformant.

Once @jonterrylee and myself have had a chance to go over all this in detail and feel this is not a regression in any sense, we will get it merged.

If you really need to use this you can check out this branch, feat/new-resources. If you do, please let us know if you encounter any issues as that would help us get this merged faster.

@sureshHARDIYA
Copy link
Contributor

@Robert-W thank you for notifying. I will check out feat/new-resources and test it. Will of course report any issues.

* SIMPLE FEATURE FLAGS. SECRETS SHOULD BE PART OF YOUR DEPLOYMENT STRATEGY
*/

if (process.env.NODE_ENV === 'development') {
Copy link
Collaborator

Choose a reason for hiding this comment

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

is there a need for defaults?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, the defaults are already assumed in @asymmetrik/sof-graphql-invariant. Smart on FHIR auth is enabled by default and GraphiQL will also require auth. These are basically just feature flags to control that behavior.

@Robert-W Robert-W merged commit 74986a8 into master Jan 11, 2019
@Robert-W Robert-W deleted the feat/new-resources branch January 11, 2019 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants