10000 Push data serialization concern into Exporter by mislav · Pull Request #3621 · cli/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Push data serialization concern into Exporter #3621

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

Merged
merged 1 commit into from
May 17, 2021
Merged

Push data serialization concern into Exporter #3621

merged 1 commit into from
May 17, 2021

Conversation

mislav
Copy link
Contributor
@mislav mislav commented May 11, 2021

The Exporter.Write() method can now be passed an unmodified data structure to convert to JSON. The Exporter will make sure that if the underlying objects implement ExportData(), that method will be called on each object individually. This retires old ExportIssues, ExportPRs methods.

Addressing @samcoe's concerns from #3414 (comment)

@mislav mislav requested a review from samcoe May 11, 2021 18:05
@mislav mislav merged commit 301a35e into trunk May 17, 2021
@mislav mislav deleted the export-data branch May 17, 2021 11:43
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

Successfully merging this pull request may close these issues.

1 participant
0