luckyframework / luckyframework/avram

Preload exception seems to show the wrong location

Open
#515 2 comments 0 reactions 0 assignees View on GitHub
improve error experience
Dominant language
Crystal
Stars
183
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Anywhere I need to have a `preload_whatever` in my app, it always points back to an empty space in my model.

Screen Shot 2020-11-09 at 1 15 47 PM

I'm currently using avram master, so this may be something that broke recently.

/cc @matthewmcgarvey

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the `preload_whatever` exception against Avram master and compare the reported location with the empty model space shown in the screenshot. Done means the exception identifies the actual source location; no source file or test is named in the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
crystal, postgresql
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.