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

Improve Hanami::View inspect outputs #240

Open
jodosha opened this issue Oct 4, 2023 · 1 comment
Open

Improve Hanami::View inspect outputs #240

jodosha opened this issue Oct 4, 2023 · 1 comment
Assignees

Comments

@jodosha
Copy link
Member

jodosha commented Oct 4, 2023

@parndt raised this:

I see this using better errors sometimes

(Object too large. Modify
Hanami::View::Rendering#inspect or adjust
BetterErrors.maximum_variable_inspect_size if you need to see it.)
@timriley timriley self-assigned this Oct 4, 2023
@jodosha
Copy link
Member Author

jodosha commented Oct 12, 2023

We need an assessment of all of our user-facing objects (Actions, Views, Router, etc...) to understand:

  1. How does the #inspect output look, and how can it be simplified?
  2. Are we passing too many dependencies? Can we simplify them?
    a. Example: instead of passing the entire configuration, try to pass only the few settings needed.

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

No branches or pull requests

2 participants