grafana / grafana/github-datasource

Fix deprecation warnings

Open
#324 4 comments 0 reactions 0 assignees View on GitHub
help wanted type/chore
Dominant language
Go
Stars
310
Forks
70
Avg merge
2d 20h
Merged PRs (30d)
3

Description

- [ ] src/DataSource.ts

- [ ] **deprecation/deprecation**: 'toPromise' is deprecated. Replaced with {@link firstValueFrom } and {@link lastValueFrom }. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise at line 67, column 41
- [ ] **deprecation/deprecation**: 'toPromise' is deprecated. Replaced with {@link firstValueFrom } and {@link lastValueFrom }. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise at line 96, column 45
- [ ] **deprecation/deprecation**: 'toPromise' is deprecated. Replaced with {@link firstValueFrom } and {@link lastValueFrom }. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise at line 116, column 45

- [ ] src/common/annotationsFromDataFrame.ts

- [ ] **deprecation/deprecation**: 'get' is deprecated. Use [idx]. This only exists to help migrate Vector to Array at line 120, column 30

- [ ] src/module.ts

- [ ] **deprecation/deprecation**: 'setVariableQueryEditor' is deprecated. -- prefer using {@link StandardVariableSupport} or {@link CustomVariableSupport} or {@link DataSourceVariableSupport} in data source instead at line 15, column 4

- [ ] src/types.ts
- [ ] **deprecation/deprecation**: 'DataQuery' is deprecated. use the type from at line 136, column 49

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.