Skip to content

The user-input genre type can't be saved #3

Description

@Celineyaa

When I add a new genre type and exit the program, after I open the program again, the user-added genre type can be seen in the book object that previously updated to the user-added genre, but can't be shown in the current program's set-genre options. Current output:

set-genre 2
Available genres:

  1. Fiction
  2. Non-Fiction
  3. Mystery
  4. Science Fiction
  5. Fantasy
  6. Add a new genre

expected output:
set-genre 2
Available genres:

  1. Fiction
  2. Non-Fiction
  3. Mystery
  4. Science Fiction
  5. Fantasy
  6. happy dogs
  7. Add a new genre

I think it will be better to save the user created genre type in the system.

error3.png

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions