Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal_state
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal_state
Merge requests
!50
Issue
#3280391
: Add anon support to getObjectByPath
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Issue
#3280391
: Add anon support to getObjectByPath
issue/drupal_state-3280391:3280391-control-authd-reqs
into
1.0.x
Overview
1
Commits
15
Pipelines
1
Changes
5
Closed
Coby Sher
requested to merge
issue/drupal_state-3280391:3280391-control-authd-reqs
into
1.0.x
2 years ago
Overview
1
Commits
15
Pipelines
1
Changes
5
Expand
Add anon to getObjectByPath
Add test
Add anon examples to the vite example server
Closes
#3280391
0
0
Merge request reports
Compare
1.0.x
1.0.x (base)
and
latest version
latest version
934acf96
15 commits,
2 years ago
5 files
+
61
−
18
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
src/__tests__/drupalState.test.ts
+
1
−
1
Options
@@ -458,7 +458,7 @@ describe('drupalState', () => {
expect
(
fetchMock
).
toBeCalledTimes
(
2
);
});
test
(
'
should fetch resource anonymously
'
,
async
()
=>
{
test
(
'
should fetch resource anonymously
when using anon:true
'
,
async
()
=>
{
const
store
:
DrupalState
=
new
DrupalState
({
apiBase
:
'
https://dev-ds-demo.pantheonsite.io
'
,
apiPrefix
:
'
jsonapi
'
,
Loading