Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Default Resource Definition generated with minimized output #142

Closed
dansiegel opened this issue Sep 16, 2020 · 0 comments · Fixed by #143
Closed

[Bug] Default Resource Definition generated with minimized output #142

dansiegel opened this issue Sep 16, 2020 · 0 comments · Fixed by #143
Labels

Comments

@dansiegel
Copy link
Owner

Description

When no resource definition json is present for a given image, a minimized version is generated. This minimized version does not include the schema for proper intellisense support.

Reproduction Steps

  1. Add an image
  2. Do not add a matching definition json file

Expected Behavior

A definition json should be generated with the schema and minimal output fields like:

{
  "schema": "http://mobilebuildtools.com/schemas/v2/resourceDefinition.schema.json"
  "name": "fileName",
  "scale": 1.0
}

Actual Behavior

A verbose file is generated with null or default values for all properties. The file is in a minimized json output with no schema.

Environment

all

Reproduction App

n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant