Skip to content

Conversation

Zerryth
Copy link
Contributor

@Zerryth Zerryth commented Jan 31, 2019

Fixes #1285

Description

Will inform user that Legacy QnA Maker v2.0 is no longer supported by throwing NotSupportedException

Specific Changes

  • QnAMaker class constructor now checks if legacy v2.0 QnA host is used.
    • if yes, throws NotSupportedException
  • _isLegacyProtocol now is only set to true if the QnA service host is v3.0, and no longer checks for v2.0

@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 48105

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 4 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.04%) to 69.464%

Files with Coverage Reduction New Missed Lines %
/libraries/Microsoft.Bot.Builder.AI.QnA/QnAMaker.cs 4 97.19%
Totals Coverage Status
Change from base Build 48077: 0.04%
Covered Lines: 3526
Relevant Lines: 5076

💛 - Coveralls

@cleemullins cleemullins merged commit 75152dc into master Jan 31, 2019
@cleemullins cleemullins deleted the Zerryth/legacyV2NotSupported branch January 31, 2019 18:32
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