User bio
404 bio not found
Member since Apr 18, 2022
Posts:
Replies:
Gabriel Santos · Feb 28, 2025 go to post

Let's think about a scenario where we need to save a user in the database. I create a method that receives a JSON with the user's information.
At this moment, I receive "name", "email", and "password". Right after that, I create a UserDTO class to map the data.
 

Method createUser(@Request user As test.UserDTO) As%Status {
	// codes...
}

The object that is arriving would be the %request.Content, and when passing it to the createUser method, our @Request is the one that deserializes the JSON into an Iris type.

Gabriel Santos · Feb 28, 2025 go to post

Example in Java with SpringBoot. 

In this code, Spring Boot has several special variables with their own configurations. Something along those lines.

Gabriel Santos · Feb 28, 2025 go to post

I’m thinking of creating a new configuration argument, similar to "Output" itself.

Open Exchange applications:
Certifications & Credly badges:
Gabriel has no Certifications & Credly badges yet.
Followers:
Gabriel has no followers yet.
Following:
Gabriel has not followed anybody yet.