Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datatype OpenGraphData is exported but not used #259

Open
MV-GH opened this issue Apr 27, 2024 · 1 comment
Open

Datatype OpenGraphData is exported but not used #259

MV-GH opened this issue Apr 27, 2024 · 1 comment

Comments

@MV-GH
Copy link
Contributor

MV-GH commented Apr 27, 2024

This should be removed.

@dessalines
Copy link
Member

Its harmless, and its auto-generated like this because in the back end we're using flatten so as not to have a breaking change. But it is its own distinct type.

pub struct LinkMetadata {
  #[serde(flatten)]
  pub opengraph_data: OpenGraphData,
  pub content_type: Option<String>,
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants