Contract keys not supported in Daml Studio?

I am learning Daml in Daml studio (VS Code) and getting an error message when I hover over a template that uses contract keys:

Failure to process Daml program, this feature is not currently supported.
Contract keys.

template CustomerTokenBalance
  with
    customer : Party
    tokenId : Text
    balance : Decimal
  where
    signatory customer
    key (customer, tokenId) : (Party, Text)
    maintainer key._1

Should I not use contract keys or is there a fix?

I switched to sdk-version: 2.10.0 and keys seem to be supported.

1 Like