Skip to content

anonymous objects problem with pg #18

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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