Hass
Hass
Explore posts from servers
CC#
Created by Mario K. on 5/5/2024 in #help
.NET 6 web api - HttpClient.PostAsync not hitting HttpPost in controller
now you need to check what is different between what you are sending from what your controller is expecting
25 replies
CC#
Created by Mario K. on 5/5/2024 in #help
.NET 6 web api - HttpClient.PostAsync not hitting HttpPost in controller
nice 😄
25 replies
CC#
Created by Mario K. on 5/5/2024 in #help
.NET 6 web api - HttpClient.PostAsync not hitting HttpPost in controller
try accepting/posting a string and see if it hits the controller
25 replies
CC#
Created by Mario K. on 5/5/2024 in #help
.NET 6 web api - HttpClient.PostAsync not hitting HttpPost in controller
your CustomerModel does not match what you are sending to the method, probably
25 replies
CC#
Created by Shogunex on 4/25/2024 in #help
✅ Getting a single value in sql db
I see, for some reason I thought EF optimized that
40 replies
CC#
Created by Shogunex on 4/25/2024 in #help
✅ Getting a single value in sql db
Is it because you chain two operations?
40 replies
CC#
Created by Shogunex on 4/25/2024 in #help
✅ Getting a single value in sql db
Why does it makes two calls? Asking bc it seems that it does one
40 replies
CC#
Created by DerProfi_123 on 4/22/2024 in #help
Best IDE for C#
Even without a student account
20 replies
CC#
Created by DerProfi_123 on 4/22/2024 in #help
Best IDE for C#
You can use rider for free if it’s the EAP version btw
20 replies
FFilament
Created by CT on 2/9/2024 in #❓┊help
How to eager load within a select using Form Builder?
I’m not sure if this is the best way to handle this, maybe someone else have a better solution
7 replies
FFilament
Created by CT on 2/9/2024 in #❓┊help
How to eager load within a select using Form Builder?
7 replies
FFilament
Created by CT on 2/9/2024 in #❓┊help
How to eager load within a select using Form Builder?
You can set in the model to always eagerLoad the relationship
7 replies
FFilament
Created by Hass on 1/13/2024 in #❓┊help
User being able to see resource in the navigation even without permission
Gonna keep that in mind, thank you! Your example of the data shown in the table gave cleared some confusion that I had
17 replies
FFilament
Created by Hass on 1/13/2024 in #❓┊help
User being able to see resource in the navigation even without permission
Do I have to generate policies for every resource's model?
17 replies
FFilament
Created by Hass on 1/13/2024 in #❓┊help
User being able to see resource in the navigation even without permission
That's why the policy check for the model of my resource inside the helpers.php was returning null
17 replies
FFilament
Created by Hass on 1/13/2024 in #❓┊help
User being able to see resource in the navigation even without permission
I see, it makes sense
17 replies
FFilament
Created by Hass on 1/13/2024 in #❓┊help
User being able to see resource in the navigation even without permission
what do you mean by my permissions are off?
17 replies
FFilament
Created by Hass on 1/13/2024 in #❓┊help
User being able to see resource in the navigation even without permission
I figured out the problem 😆 tl;dr:
//ExampleResource.php
//...

class ExampleResource extends Resource
{
protected static bool $shouldCheckPolicyExistence = false; // setting this to false solves the problem

//...
}
//ExampleResource.php
//...

class ExampleResource extends Resource
{
protected static bool $shouldCheckPolicyExistence = false; // setting this to false solves the problem

//...
}
17 replies
CC#
Created by Hass on 12/25/2022 in #help
❔ Getting error 500 on form post (using fetch)
yikes
38 replies