grafana / grafana/github-datasource
Fix deprecation warnings
- 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
Assessment
This issue has not been assessed yet.