Skip to content

Commit

Permalink
ignore JWT fields in ingest SDK generation (#1814)
Browse files Browse the repository at this point in the history
  • Loading branch information
phiSgr authored Oct 4, 2024
1 parent 0fe4ccf commit 42954f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/framework-cli/src/framework/typescript/generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ pub fn std_table_to_typescript_interface(
let mut fields: Vec<InterfaceField> = Vec::new();

for column in table.columns {
if matches!(&column.data_type, ColumnType::Nested(n) if n.jwt) {
continue;
}

let typescript_interface_type =
std_field_type_to_typescript_field_mapper(column.data_type.clone())?;

Expand Down

0 comments on commit 42954f4

Please sign in to comment.