Skip to content

Can't have named parameters of type real #421

Closed
@coderaper

Description

@coderaper

First of all I would like to thank all contributors for creating and sharing this nice and very useful library. Unfortunately, I encountered a small bug that prevents the use of named parameters of type real.

In the file:

~/.pub-cache/hosted/pub.dev/postgres-3.5.4/lib/src/types/type_registry.dart

there is a typo on line line 210 in the Map

final _builtInTypeNames = <String, Type>{
  . . . .
  'read': Type.real,   // it should be 'real': Type.real,
  . . . .
];

As a workaround I am using float4 for now, but it would be nice if this is fixed in the next releases.

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