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

chore: Making post-processing setting bit more inteligent #2321

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

FarrukhMasud
Copy link
Contributor

When we set post-processing options, we can infer the pos-processing type. For example, if we set post-processing option as jsonSchema, then we can infer that the post-processing type to be json.

What changes are proposed in this pull request?

In this PR, I am adding this intelligence that when we set post-processing-option, we can also set post-processing if it is not already set. We can also validate that if post-processing is already set, then it should be the same as the inferred post-processing type. I have added unit tests to validate this

How is this patch tested?

Unit tests validate this functionality

Does this PR change any dependencies?

  • No. You can skip this section.
  • Yes. Make sure the dependencies are resolved correctly, and list changes here.

Does this PR add a new feature? If so, have you added samples on website?

  • No. You can skip this section.
  • Yes. Make sure you have added samples following below steps.

…type. For example, if we set post-processing option as "jsonSchema", then we can infer that the post-processing type to be "json". In this changeset, I am adding this feature and also adding unit tests to validate this.
@FarrukhMasud
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@FarrukhMasud
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@mhamilton723
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@codecov-commenter
Copy link

codecov-commenter commented Dec 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.08%. Comparing base (79d5b58) to head (67f6498).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2321      +/-   ##
==========================================
- Coverage   84.44%   84.08%   -0.37%     
==========================================
  Files         328      328              
  Lines       16771    16782      +11     
  Branches     1506     1509       +3     
==========================================
- Hits        14163    14111      -52     
- Misses       2608     2671      +63     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mhamilton723 mhamilton723 merged commit 7f99b8d into microsoft:master Dec 2, 2024
63 of 67 checks passed
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.

4 participants