question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove some methods from Context

See original GitHub issue
  • mapFormParams // largely replaced by validated params
  • anyFormParamNull // largely replaced by validated params
  • mapQueryParam // largely replaced by validated params
  • anyQueryParamNull // largely replaced by validated params
  • splat // is really identical to pathParam, but index based
  • splats // is really identical to pathParamMap, but index based
  • validatedBodyAsClass // largely replaced by validated params
  • validatedBody // largely replaced by validated params
  • validatedFormParam // largely replaced by validated params
  • validatedPathParam // largely replaced by validated params
  • validatedQueryParam // largely replaced by validated params

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
oharaandrew314commented, Jul 15, 2021

@tipsy I had a look at the updated tests for the splats. They seem good to me.

2reactions
tipsycommented, Jul 15, 2021

@Farquaad @oharaandrew314 @pacher please check out the latest ALPHA release which once again removes splats, but adds “slash-accepting-path-params”. These can be declared like /my/path/<param>/subpath, and can include any number of slashes. They can be accessed through ctx.pathParam("param").

<dependency>
  <groupId>io.javalin</groupId>
  <artifactId>javalin</artifactId>
  <version>4.0.0.ALPHA4</version>
</dependency>
Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I delete items in one context from another in Entity ...
Hello, I fill up a list of "EssaieFilament", then send the list to a function that delet them but as the context change,...
Read more >
Method: operations.delete | Access Context Manager
This method indicates that the client is no longer interested in the operation result. It does not cancel the operation.
Read more >
DbSet.Remove(Object) Method (System.Data.Entity)
Marks the given entity as Deleted such that it will be deleted from the database when SaveChanges is called. Note that the entity...
Read more >
Deleting data via the DbContext - Learn Entity Framework Core
In the following example, the entity to be deleted is obtained by the context, so the context begins tracking it immediately. The DbContext.Remove...
Read more >
Add or Remove Multiple Entities in Entity Framework
RemoveRange() method attaches a collection of entities with Deleted state, which in turn will execute the DELETE command for all entities on SaveChanges()...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found