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

[api] Alterar modo de upload da foto na entidade User #410

Open
4 tasks
Akellymourab opened this issue Dec 8, 2024 · 0 comments
Open
4 tasks

[api] Alterar modo de upload da foto na entidade User #410

Akellymourab opened this issue Dec 8, 2024 · 0 comments

Comments

@Akellymourab
Copy link
Member

Akellymourab commented Dec 8, 2024

WHAT

Agora que o PHP já foi atualizado pro 8.4, podemos usar multpart/form-data nas requisições PATCH.

Então podemos refatorar a forma como fazemos upload de arquivos, deixando de usar base64

HOW

Modificando o processo de upload de imagens na entidade.

CHECKLIST

  • Refatorar Service que faz upload das imagens
  • Refatorar na API de Users
  • Documentar o endpoint
  • Modificar os testes (phpunit)

       Seria interessante remover isso e já criar uma issue nova para resolver futuramente

Originally posted by @alessandrofeitoza in #387 (comment)

@github-project-automation github-project-automation bot moved this to IDEAS in Aurora Dec 8, 2024
@Akellymourab Akellymourab changed the title implementar testes para os métodos inválidos de imagem na entidade User [api] Alterar modo de upload da foto na entidade User Dec 8, 2024
@alessandrofeitoza alessandrofeitoza moved this from IDEAS to PRODUCT BACKLOG in Aurora Dec 31, 2024
@alessandrofeitoza alessandrofeitoza moved this from PRODUCT BACKLOG to SPRINT BACKLOG in Aurora Jan 5, 2025
@alessandrofeitoza alessandrofeitoza moved this from SPRINT BACKLOG to PRODUCT BACKLOG in Aurora Jan 5, 2025
@alessandrofeitoza alessandrofeitoza moved this from PRODUCT BACKLOG to SPRINT BACKLOG in Aurora Jan 6, 2025
@alessandrofeitoza alessandrofeitoza moved this from SPRINT BACKLOG to PRODUCT BACKLOG in Aurora Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: PRODUCT BACKLOG
Development

No branches or pull requests

1 participant