Skip to content

Allow saving of types and capabilities into contracts/resources in Playground #373

Closed

Description

Instructions

NFT or contract could have a field specified on them, which gives a hint on type to cast the reference.

Problem

Playground doesn't seem to support this at the moment.

Steps to Reproduce

Here is Playground with test case:
https://play.onflow.org/603a8982-9198-4be7-9f55-0cc91ae29f6f

  • Deploy FungibleToken contract from 0x01
  • Try to deploy CustomVault contract from 0x02 - Playground will throw GraphQL error: internal system error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

BugSomething isn't workingFeedback

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions