-
Notifications
You must be signed in to change notification settings - Fork 4
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: cherifGsoul/inertia-psr15
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: cherifGsoul/inertia-psr15
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 7 commits
- 5 files changed
- 2 contributors
Commits on Jul 4, 2024
-
While working with the Inertia.js documentation, Laravel Inertia class provides lazy method to determine which props will be included only when required
Configuration menu - View commit details
-
Copy full SHA for 02aef3f - Browse repository at this point
Copy the full SHA 02aef3fView commit details -
Update Inertia render method and add lazy static method
- In order to use LazyProp - similar to Laravel Inertia backend library - a new lazy static method is created that returns a LazyProp instance. - Also the render method was change, so if we are not asking for Partial Data, the Lazy props won't be included in the data. - A couple of tests were added with this new features.
Configuration menu - View commit details
-
Copy full SHA for 5d5b7dc - Browse repository at this point
Copy the full SHA 5d5b7dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for eca4ed3 - Browse repository at this point
Copy the full SHA eca4ed3View commit details
Commits on Jul 5, 2024
-
Merge pull request #4 from aiglesiasn/master
Add LazyProps capability to Inertia class
Configuration menu - View commit details
-
Copy full SHA for 292af3a - Browse repository at this point
Copy the full SHA 292af3aView commit details
Commits on Jul 10, 2024
-
Update changeRedirectCode method in InertiaMiddleware
Continue the improvement of the library based on Inertia Laravel Library and what the documentation states. A 409 with a X-Inertia-Location Header should produce an external redirect in the inertia.js library. But for this to happen we need to remove the X-Inertia header, if not, inertia.js won't handle the external redirect. Add a test for this path inside changeRedirectCode method of the InertiaMiddleware
Configuration menu - View commit details
-
Copy full SHA for 434b6b8 - Browse repository at this point
Copy the full SHA 434b6b8View commit details -
Implement Inertia method location
Laravel Inertia Library has the option to redirect to external url or routes not handled with Inertia, via the location method. In this method we add the possibility to send the destination as a ResponseInterface, in case we already have a response or a string so a url as a string can be sent. Status Code option is also added in order to provide the developer the ability to add a 303 if required.
Configuration menu - View commit details
-
Copy full SHA for f3eaa1c - Browse repository at this point
Copy the full SHA f3eaa1cView commit details
Commits on Jul 25, 2024
-
Merge pull request #5 from aiglesiasn/master
Add ability for External Redirects
Configuration menu - View commit details
-
Copy full SHA for 551660e - Browse repository at this point
Copy the full SHA 551660eView commit details
There are no files selected for viewing