Skip to content

Feature/full text search use case - #91

Open
gpreviatti wants to merge 12 commits into
mainfrom
feature/full-text-search-use-case
Open

Feature/full text search use case#91
gpreviatti wants to merge 12 commits into
mainfrom
feature/full-text-search-use-case

Conversation

@gpreviatti

Copy link
Copy Markdown
Owner

Pull Request

Summary

Type of change

  • Feature
  • Bug fix
  • Refactor
  • Performance
  • Documentation
  • Chore / Build / CI

Related work

How was this tested?

  • Unit tests
  • Integration tests
  • Manual tests
  • Not applicable

Checklist

  • I have reviewed my own changes
  • I have updated documentation/comments when needed
  • I have added or updated tests when needed
  • I have verified no sensitive data/secrets were introduced
  • This PR is ready for review

Additional notes (optional)

Release notes (optional)

Giovanni Brunno Previatti and others added 12 commits July 29, 2026 16:38
…chOrdersUseCase

Co-Authored-By: Claude <noreply@anthropic.com>
…earchLanguage params

Co-Authored-By: Claude <noreply@anthropic.com>
- Add BaseFullTextSearchPaginatedRequest tests (defaults, custom values, inheritance)
- Add BaseRequest User/TimezoneId default and custom value tests
- Add BasePaginatedRequest User/TimezoneId assertions and inheritance test
- Add BaseResponse<TData> and BasePaginatedResponse<TData> default constructor and null-data tests
- Add CreateOrderRequest CreatedBy/TimezoneId, empty items, and inheritance tests
- Add OrderDto null items and multi-item collection tests
Documents when and how to use FullTextSearchPaginated for use cases that return multiple records, and makes the required GIN tsvector migration index explicit.

Co-Authored-By: Claude <noreply@anthropic.com>
- Add BaseFullTextSearchPaginatedRequest to BaseRequest
- Add GetAllFullTextSearchPaginatedAsync to IBaseRepository and BaseRepository
- Add GIN indexes on Order.Description and Item.[Name, Description] via mapping classes
- Add EF Core migration generated via dotnet ef
- Add GetAllFullTextSearchOrdersUseCase and POST /orders/full-text-search-paginated endpoint
- Add unit and integration tests

Co-Authored-By: Claude <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant