Skip to content

Improve sample book collection validation and search - #236

Closed
MarcelloGasbarro wants to merge 1 commit into
github:mainfrom
MarcelloGasbarro:marcellogasbarro-course-fixes
Closed

MarcelloGasbarro wants to merge 1 commit into
github:mainfrom
MarcelloGasbarro:marcellogasbarro-course-fixes

Conversation

@MarcelloGasbarro

Copy link
Copy Markdown

The book collection samples currently accept incomplete book details and require exact author-name matches, making common searches such as Tolkien fail for J.R.R. Tolkien. This updates the sample implementations so they validate new book data, support case-insensitive partial author searches, and accept custom data-file paths in Python.

Adds regression tests for author search and input validation in Python and JavaScript. The context chapter also contains Markdown formatting updates. Python and JavaScript tests pass; the C# test suite could not run because the available .NET 9 SDK cannot target the project's .NET 10 framework.

Add custom data-file support, validate new book details, and allow partial case-insensitive author searches across sample implementations. Add regression tests and apply Markdown formatting updates to the context chapter.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@NevronNEC

Copy link
Copy Markdown

samples/book-app-project/books.py

@DanWahlin

Copy link
Copy Markdown
Collaborator

Thanks @MarcelloGasbarro. The code is designed to have areas for improvement so that reviews and other tasks run throughout the course can show details about improvements that can be made. Appreciate the PR but we aren't planning to update the code right now. Thanks!

@DanWahlin DanWahlin closed this Oct 5, 2026
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