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

So/cognitive search service adapter #14

Closed
wants to merge 35 commits into from

Conversation

spanersoraferty
Copy link
Collaborator

No description provided.

…ng scaffolding at the application and domain levels.
@spanersoraferty spanersoraferty requested a review from CathLass July 10, 2024 08:07
using Dfe.Data.SearchPrototype.Search.Domain.AggregateRoot;

namespace Dfe.Data.SearchPrototype.Search.Application.Adapters
{
Copy link
Collaborator

Choose a reason for hiding this comment

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

When you're talking about adaptors, that's in the context of ports and adaptors? So this is the port? I think it's worth discussing with Scott whether this code is meant as part-tutorial and if it is, these comments need to be really well thought-through (and maybe the word 'port' used, if that is the language that we're using)

/// <exception cref="JsonSerializationException">
/// Exception thrown if there is a problem deserialising the derived string document object.
/// </exception>
public static ExpandoObject? DeserialiseSearchResultDocument(this SearchResult<object> searchResult)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I didn't expect to still be using ExpandoObjects

@CathLass CathLass closed this Jul 12, 2024
@spanersoraferty spanersoraferty deleted the SO/cognitive-search-service-adapter branch July 22, 2024 09:51
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