Skip to content

Commit

Permalink
Add issue number
Browse files Browse the repository at this point in the history
  • Loading branch information
svix-mman committed Mar 11, 2025
1 parent 7bace9c commit 6532e23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ impl FieldType {
pub(crate) fn referenced_schema(&self) -> Option<&str> {
match self {
Self::SchemaRef(v) => {
// TODO: the `BackgroundTaskFinishedEvent2` struct has a field with type of `Data`
// TODO(10055): the `BackgroundTaskFinishedEvent2` struct has a field with type of `Data`
// this corresponds to a `#[serde(untagged)]` enum `svix_server::v1::endpoints::background_tasks::Data`
// we should change this server side, but for now I am changing it here
if v == "Data" {
Expand Down Expand Up @@ -913,7 +913,7 @@ impl serde::Serialize for FieldType {
}

fn filter_schema_ref<'a>(name: &'a String, json_obj_typename: &'a str) -> Cow<'a, str> {
// TODO: the `BackgroundTaskFinishedEvent2` struct has a field with type of `Data`
// TODO(10055): the `BackgroundTaskFinishedEvent2` struct has a field with type of `Data`
// this corresponds to a `#[serde(untagged)]` enum `svix_server::v1::endpoints::background_tasks::Data`
// we should change this server side, but for now I am changing it here
if name == "Data" {
Expand Down

0 comments on commit 6532e23

Please sign in to comment.