Skip to content

Fix use_schema_classes bug#196

Open
ariana-flipp wants to merge 1 commit intomasterfrom
use-schema-classes-bug
Open

Fix use_schema_classes bug#196
ariana-flipp wants to merge 1 commit intomasterfrom
use-schema-classes-bug

Conversation

@ariana-flipp
Copy link
Copy Markdown
Collaborator

Pull Request Template

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Deimos's feature use_schema_classes was not working because this field was not populated as part of the producer/consumer config and there was a wrong logic in evaluating this field. Fixed the bug so that use_schema_classes can be used.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added a line in the CHANGELOG describing this change, under the UNRELEASED heading
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Copy link
Copy Markdown
Member

@dorner dorner left a comment

Choose a reason for hiding this comment

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

@ariana-flipp looks great! Can you add tests covering this use case please? Basically we want to make sure that schema classes are not used if use_schema_classes is turned on at the global level and off at the producer level.

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.

2 participants