Skip to content

Object parsing hangs #467

@armandolew

Description

@armandolew

Hi, good afternoon.

After I tried to use the Her::Middleware::DefaultParseJSON middleware and getting a TypeError (no implicit conversion of Symbol into Integer), I tried to use a custom middleware that someone posted as a solution to the issue. Finally, after getting this middleware to show the response coming from an external API, I fired a query and the app freezes at the moment of creating the model objects from the json response. I don't receive any error on console nor a warning anywhere and I'm able to print the response from the env hash, so my guess is that Her is trying to convert this json response into model objects and there is where the app hangs. Can you please give me some pointers regarding the structure the env data should provide in order for Her to be able to parse accordingly? Thank you. Regards. Armando.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions