question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Decimal primitive type

See original GitHub issue

Bug description

The VS Code extension does not recognize the Decimal primitive type. Screen Shot 2021-07-29 at 9 01 28 AM

How to reproduce

Steps to reproduce the behavior:

  1. Add an attribute with type Decimal

Expected behavior

It should recognize Decimal

Prisma information

model Unlockable {
  id                String              @id @default(uuid())
  amount            Decimal
}

Environment & setup

  • OS: Mac OS
  • Editor: VSCode
  • Editor version: 1.43.2
  • Extension version: 2.3.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
melissafzhangcommented, Aug 2, 2021

Oh I see. Ok I reinstalled and now the version is the same. Still getting the same error for Decimal though

0reactions
floelhoeffelcommented, Nov 3, 2021

Hey @melissafzhang - as we unfortunately can’t reproduce, I am closing this issue. Please re-open if this keeps happening!

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Numeric Primitive Data Types
There are both integer and floating point primitive types. Integer types have no ... On paper, integers have no decimal point, and floating...
Read more >
Why is decimal not a primitive type? - Stack Overflow
Decimal is a 128 bit data type, which can not be represented natively on a computer hardware. For example a ...
Read more >
Primitive Data Types (The Java™ Tutorials > Learning the ...
Decimal : Base 10, whose digits consists of the numbers 0 through 9; this is the number system you use every day; Hexadecimal:...
Read more >
Primitive Data Types | Apex Developer Guide
Decimal is an arbitrary precision number. Currency fields are automatically assigned the type Decimal. If you don't explicitly set the number of decimal...
Read more >
Java - Decimal Number Primitives - Mod1, Les1, Video 5 of 6
Java - Primitive Data Types - Decimal Number Primitives - Mod1, Les1, ... variables of any of the primitive data types 5) The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found