[
https://issues.apache.org/jira/browse/BEAM-13177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aydar Zaynutdinov updated BEAM-13177:
-------------------------------------
Resolution: Done
Status: Resolved (was: In Progress)
> [Playground] Change using of MustParse with Parse for all API methods
> ---------------------------------------------------------------------
>
> Key: BEAM-13177
> URL: https://issues.apache.org/jira/browse/BEAM-13177
> Project: Beam
> Issue Type: Bug
> Components: beam-playground
> Reporter: Aydar Zaynutdinov
> Assignee: Aydar Zaynutdinov
> Priority: P3
> Labels: beam-playground-backend, beam-playground-sprint-3,
> beam-playground-sprint-4
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Now API methods use uuid.MustParse() to get uuid from request parameters. If
> parameters don't match the correct uuid this method will throw panic.
> Need to use uuid.Parse() instead of uuid.MustParse() to prevent this case. In
> case uuid.Parse() returns error return errors.InvalidArgumentError.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)