Skip to content

Conversation

zygiert1990
Copy link
Contributor

No description provided.

@zygiert1990 zygiert1990 requested a review from adamw March 5, 2025 06:49
@zygiert1990 zygiert1990 self-assigned this Mar 5, 2025
@zygiert1990 zygiert1990 marked this pull request as ready for review March 5, 2025 07:18
@zygiert1990 zygiert1990 changed the title add create upload method add Upload API Mar 5, 2025
)

object UploadResponse {
implicit val uploadResponseR: SnakePickle.Reader[UploadResponse] = SnakePickle.macroR[UploadResponse]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how can you deserialise a File from JSON? what's the intended content of this field?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah ok, it's the File below, not java.io.File :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is just some file metadata :) Perhaps I should rename this class (FileMetadata) to make it clear that this is not an actual file?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes, this is a good idea, let's do that :)

@adamw adamw merged commit 03b3eec into master Mar 5, 2025
9 checks passed
@adamw adamw deleted the add_Upload_API branch March 5, 2025 07:28
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.

2 participants