Development Notes

Solutions to problems encountered on projects, or useful dev-related notes

Conditional validation patterns

Using spread const formSchema = computed(() => { let schema = { name: yup.

PetaPoco SQL Date to C# DateOnly mapping

public class CustomMapper : ConventionMapper { private static readonly Type DateOnlyType = typeof(

Azure Function gotchas

If using [FromBody] model binding, include using FromBodyAttribute = Microsoft.Azure.

Fixing the white on white cursor in Google Docs

From this post: https://issues.chromium.org/issues/40239916#comment98

Remove jobs from Hangfire

TRUNCATE TABLE [HangFire].[AggregatedCounter] TRUNCATE TABLE [HangFire].[Counter] TRUNCATE TABLE

Change Scratch files location in Rider and Webstorm

Help > Edit Custom Properties idea.scratch.path/scratches=G:

Fix SQL DECLARE variable use in DataGrip

In 2025.1.3 you can't execute this

Using MirageJS to fake a .NET API

By default Mirage sends models using a different style than

Killing a Vite port

Run npx kill-port 8080 etc

Fixing Chrome "Failed to read the cssRules" errors

At some point Chrome got picky about using <link&