Is your feature request related to a problem? Please describe.
Per #2073 and #2088, we're making Menu, User, and Comment constructors protected.
For more context, see the linked issues.
Acceptance Criteria
Describe alternatives you’ve considered
The alternative is having an inconsistent API, which I personally don't find acceptable.
Additional context
See #1793 for how this all got started.
Is your feature request related to a problem? Please describe.
Per #2073 and #2088, we're making
Menu,User, andCommentconstructors protected.For more context, see the linked issues.
Acceptance Criteria
Timber::get_menu()method which in turn call the appropriate factory methods (factory implementations themselves are out of scope here)Timber::get_user()Timber::get_comment()Timber::get_users()methods for getting collections.Timber::get_comments()::get_menus()method? (No - see discussion.)MenuorUserobjects (should they get their own class maps?)MenuItemDescribe alternatives you’ve considered
The alternative is having an inconsistent API, which I personally don't find acceptable.
Additional context
See #1793 for how this all got started.