Skip to content

Fix setting cosmos configuration at runtime by checking whether the graphql schema is set#1739

Merged
Aniruddh25 merged 4 commits intorelease/0.8from
user/matrembl/fix-cosmos-late-init
Sep 21, 2023
Merged

Fix setting cosmos configuration at runtime by checking whether the graphql schema is set#1739
Aniruddh25 merged 4 commits intorelease/0.8from
user/matrembl/fix-cosmos-late-init

Conversation

@Mathos1432
Copy link
Copy Markdown
Contributor

@Mathos1432 Mathos1432 commented Sep 21, 2023

Why make this change?

Failing to set the configuration at runtime if there is not "schema" file set in the config. This is not required when setting the config at runtime since the graphql schema is set already.

How was this tested?

  • Validated locally
  • Updated the tests so the schema property is removed from the config. Verified that the tests were failing before the fix and passing after.

Comment thread src/Core/Configurations/RuntimeConfigValidator.cs
@Mathos1432 Mathos1432 enabled auto-merge (squash) September 21, 2023 19:07
Copy link
Copy Markdown
Collaborator

@Aniruddh25 Aniruddh25 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the quick fix and the accompanying test!

@Aniruddh25 Aniruddh25 disabled auto-merge September 21, 2023 21:54
@Aniruddh25 Aniruddh25 merged commit c699250 into release/0.8 Sep 21, 2023
@Aniruddh25 Aniruddh25 deleted the user/matrembl/fix-cosmos-late-init branch September 21, 2023 21:54
seantleonard pushed a commit that referenced this pull request Sep 22, 2023
…raphql schema is set (#1739)

## Why make this change?
Failing to set the configuration at runtime if there is not "schema"
file set in the config. This is not required when setting the config at
runtime since the graphql schema is set already.

## How was this tested?

- [x] Validated locally
- [x] Updated the tests so the schema property is removed from the
config. Verified that the tests were failing before the fix and passing
after.
seantleonard pushed a commit that referenced this pull request Sep 22, 2023
…raphql schema is set (#1739)

## Why make this change?
Failing to set the configuration at runtime if there is not "schema"
file set in the config. This is not required when setting the config at
runtime since the graphql schema is set already.

## How was this tested?

- [x] Validated locally
- [x] Updated the tests so the schema property is removed from the
config. Verified that the tests were failing before the fix and passing
after.
abhishekkumams pushed a commit that referenced this pull request Sep 25, 2023
…whether the graphql schema is set (#1743)

## Context
Cherry-picking #1739 from `release/0.8` to main and also resolved merge
conflicts. Remainder of description copied from #1739 PR description.

## Why make this change?
Failing to set the configuration at runtime if there is not "schema"
file set in the config. This is not required when setting the config at
runtime since the graphql schema is set already.

## How was this tested?

- [x] Validated locally
- [x] Updated the tests so the schema property is removed from the
config. Verified that the tests were failing before the fix and passing
after.

Co-authored-by: Mathieu Tremblay <[email protected]>
Co-authored-by: Aniruddh Munde <[email protected]>
seantleonard added a commit that referenced this pull request Sep 25, 2023
…whether the graphql schema is set (#1743)

## Context
Cherry-picking #1739 from `release/0.8` to main and also resolved merge
conflicts. Remainder of description copied from #1739 PR description.

## Why make this change?
Failing to set the configuration at runtime if there is not "schema"
file set in the config. This is not required when setting the config at
runtime since the graphql schema is set already.

## How was this tested?

- [x] Validated locally
- [x] Updated the tests so the schema property is removed from the
config. Verified that the tests were failing before the fix and passing
after.

Co-authored-by: Mathieu Tremblay <[email protected]>
Co-authored-by: Aniruddh Munde <[email protected]>
Aniruddh25 added a commit that referenced this pull request Sep 26, 2023
…whether the graphql schema is set (#1746)

## Context
Cherry-picking #1739 from `main` to `release/0.9` which includes the
merge conflicts resolved for merging into main. Remainder of description
copied from #1739 PR description.

## Why make this change?
Failing to set the configuration at runtime if there is not "schema"
file set in the config. This is not required when setting the config at
runtime since the graphql schema is set already.

## How was this tested?

- [x] Validated locally
- [x] Updated the tests so the schema property is removed from the
config. Verified that the tests were failing before the fix and passing
after.

Co-authored-by: Mathieu Tremblay <[email protected]>
Co-authored-by: Aniruddh Munde <[email protected]>
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