Commit 312f2e1
authored
fix: add interpolation_context to auth fields (#659)
`interpolation_context` was missing from multiple auth fields that commonly need to access the `config` interpolation variable.
This is a problem for the Builder UI, as `interpolation_context` is how the Builder UI knows whether it should render the JinjaInput component for a field, which offers suggestions and formatting for jinja expressions.
This PR fixes the issue by adding this property to the fields that were missing it.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Documentation**
* Clarified that several authentication fields now explicitly support dynamic value interpolation using connector configuration. This applies to secret key fields in JWT authentication and client credentials in OAuth authentication.
* Corrected example syntax for OAuth client ID and client secret fields to improve clarity.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent ff16dbf commit 312f2e1
File tree
2 files changed
+17
-4
lines changed- airbyte_cdk/sources/declarative
- models
2 files changed
+17
-4
lines changedLines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1095 | 1095 | | |
1096 | 1096 | | |
1097 | 1097 | | |
| 1098 | + | |
| 1099 | + | |
1098 | 1100 | | |
1099 | 1101 | | |
1100 | 1102 | | |
| |||
1224 | 1226 | | |
1225 | 1227 | | |
1226 | 1228 | | |
| 1229 | + | |
| 1230 | + | |
1227 | 1231 | | |
1228 | | - | |
| 1232 | + | |
1229 | 1233 | | |
1230 | 1234 | | |
1231 | 1235 | | |
| |||
1238 | 1242 | | |
1239 | 1243 | | |
1240 | 1244 | | |
| 1245 | + | |
| 1246 | + | |
1241 | 1247 | | |
1242 | | - | |
| 1248 | + | |
1243 | 1249 | | |
1244 | 1250 | | |
1245 | 1251 | | |
| |||
1252 | 1258 | | |
1253 | 1259 | | |
1254 | 1260 | | |
| 1261 | + | |
| 1262 | + | |
1255 | 1263 | | |
1256 | 1264 | | |
1257 | 1265 | | |
| |||
1272 | 1280 | | |
1273 | 1281 | | |
1274 | 1282 | | |
| 1283 | + | |
| 1284 | + | |
1275 | 1285 | | |
1276 | 1286 | | |
1277 | 1287 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | | - | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
527 | 530 | | |
528 | 531 | | |
529 | 532 | | |
| |||
536 | 539 | | |
537 | 540 | | |
538 | 541 | | |
539 | | - | |
| 542 | + | |
540 | 543 | | |
541 | 544 | | |
542 | 545 | | |
| |||
0 commit comments