Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
coc-apollo
Advanced tools
coc.nvim extension for Apollo GraphQL. Still work in progress, feedbacks and PRs are welcome.
:CocInstall coc-apollo
virtual text
)TODO...
APOLLO_KEY
to .env
apollo.config.json
or apollo.config.js
, config detailsThe plugin will download schema from Apollo Schema Registry/local schema/remote schema, it generates schema.graphql
file by default. So you have to specify "schema": "schema.graphql"
in the config in order for language server to read.
Example graphql.config.json
{
"schema": "schema.graphql"
}
You can also customize the exported schema filename and type with :CocConfig
{
"apollo.schema.filename": "schema.json"
}
This will output the file in json format by converting the schema to schema introspection
apollo.defaultVariant
the default apollo graph variant to download when the plugin been initially loaded, default: current
function! LightlineCocApolloStatus() abort
let status = get(g:, 'coc_apollo_current_variant', '')
if empty(status)
return ''
endif
return '🚀 ' . status
endfunction
let g:lightline = {
\ 'active': {
\ 'left': [
\ [ 'mode', 'paste' ],
\ [ 'readonly', 'filename' ]
\ ],
\ 'right':[
\ [ 'filetype', 'lineinfo', 'percent', 'cocstatus' ],
\ [ 'cocapollo' ]
\ ],
\ },
\ 'component_function': {
\ 'cocapollo': 'LightlineCocApolloStatus'
\ }
\ }
Show variant list:
:CocList variants
Reload Apollo graphql schema variant list
:CocCommand apollo.reload.variants
Reload Apollo field stats
:CocCommand apollo.reload.stats
MIT
This extension is built with create-coc-extension
FAQs
coc.nvim extension for Apollo GraphQL
The npm package coc-apollo receives a total of 22 weekly downloads. As such, coc-apollo popularity was classified as not popular.
We found that coc-apollo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.