firebase / firebase/firebase-tools

Issue publishing extension with 'number' type for extension.yaml param

Open
#8,883 0 comments 0 reactions 1 assignee Claimed by @CorieW View on GitHub
api: extensions type: bug
Dominant language
TypeScript
Stars
4.5k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
84

Description

Using `number` param type works in emulator and when deploying, but publishing does not.

### [REQUIRED] Environment info

**firebase-tools:** 14.11.0

**Platform:** macOS

### [REQUIRED] Steps to reproduce

Publish an extension with a param with type of `number` (in extension.yaml)

### [REQUIRED] Expected behavior

Publishes.

### [REQUIRED] Actual behavior

Fails
```
Error: The extension.yaml has the following errors:
- Invalid type number for param BACKFILL_BATCH_SIZE. Valid types are select, multiSelect, string, selectResource, secret
+ EXIT_CODE=1
+ set -e
+ echo 'Exit code: 1'
Exit code: 1
+ '[' 1 -eq 0 ']'
+ '[' 1 -eq 103 ']'
+ '[' 1 -eq 104 ']'
+ exit 1
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.