Skip to content

Conversation

@caitlinrussell
Copy link

In beta, there are two new "XYRequest" EntityType objects that require us to append "-Object" to the end (fileClassificationRequest and textClassificationRequest). These hit new scenarios in the templates that weren't previously checked, so this commit adds the appropriate checks in several more places.

There are probably other places in the templates where we are missing checks for EndsWith("Request") but it is a difficult piece to search for since the variable is not always consistently named. The best alternative would be to refactor this logic out of the individual templates.

@caitlinrussell caitlinrussell merged commit a73bd11 into dev Apr 19, 2018
@caitlinrussell caitlinrussell deleted the request-entity-bugfix branch April 19, 2018 16:29
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