Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Preview should be unable to panic #21

Description

@Emyrk

The underlying implementation for types is https://github.com/zclconf/go-cty, which can panic when resolving values. The api surface of preview should be safe from panics, using recover() as a safe guard from any bugs/mistakes.

It is possible to avoid all panics with proper type checking, however a recover() guard rail ensure bugs do not completely kill the caller.

This should be done by early-access.

Activity

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

Metadata

Metadata

Assignees

Labels

early-accesscandidate for an early-access, or experimental, release

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions