Skip to content

Comments

BX-68163: feature parity for document endpoints in dotnet binding#7

Open
cransom-babelstreet wants to merge 10 commits intomasterfrom
BX-68163
Open

BX-68163: feature parity for document endpoints in dotnet binding#7
cransom-babelstreet wants to merge 10 commits intomasterfrom
BX-68163

Conversation

@cransom-babelstreet
Copy link

No description provided.

Copy link

@asoosprecognox asoosprecognox left a comment

Choose a reason for hiding this comment

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

I haven't finished reviewing the tests yet, so I might have some comments for that as well, but I wanted to share what I found so far.
Also I really like the changes you made, great work!

Comment on lines +21 to +25
public new Entities SetGenre(string genre)
{
// Genre is not supported for Entities endpoint - ignore the value
return this;
}

Choose a reason for hiding this comment

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

I think this should be moved to the parent class

Choose a reason for hiding this comment

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

There is a SetGenre method in the base class. This is an override because the D.O.D. on the ticket mentioned a change for that specific endpoint: "Remove genre from /entities but, for backwards compatibility, don’t throw an error if it is set."

}
using Rosette.Api.Endpoints.Core;

namespace Rosette.Api.Endpoints;

Choose a reason for hiding this comment

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

@seth-mg as the namespaces are reworked, should we use the opportunity to remove the Rosette from it?

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