Skip to content

anonymous objects problem with pg #18

@hwangar

Description

@hwangar

Hi there!

Starting with node8, anonymous decorations are showing in pg responses (you can check it at vitaly-t/pg-promise#165), the problem is you're using a strong check using lodash.isPlainObject, which identifies them as NOT plain objects

Could it be a good idea to replace it with lodash.isObject? It looks correct enough to me and won't force postgres users to do a shallow copy before using NestHydrationJS

Greetings!
Juan Arias

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions